Fade effect

The fade effect hides or shows an element by fading it. fade Examples: Toggle a div using the fade effect. <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>fade demo</title> <link rel="stylesheet" href="//c

.jqmRemoveData()

Remove a previously-stored piece of data. When working with jQuery Mobile, jqmRemoveData should be used in place of jQuery core's removeData method (note that this includes $.fn.data, $.fn.removeData, and the $.data, $.removeData, and $.hasData utilities), as they automatically incorporate getting and setting of namespaced data attributes (even if no namespace is currently in use). .jqmRemoveData( prop

.removeData()

Remove a previously-stored piece of data. The .removeData() method allows us to remove values that were previously set using .data(). When called with the name of a key, .removeData() deletes that particular value. When called with no arguments, .removeData() removes all values. Note that .removeData() will only remove data from jQuery's internal .data() cache, and any corresponding data- attributes on the element will not be removed. A later call to

.jqmHijackable()

For users that wish to respect data-ajax=false parent elements during custom form and link binding jQuery Mobile provides the $.fn.jqmHijackable filter method. For users that wish to respect data-ajax=false parent elements during custom form and link binding jQuery Mobile provides the $.fn.jqmHijackable filter method. Settings: If, and only if, $.mobile.ignoreContentEnabled is set to true, this method will traverse the parent nodes for each DO

:root selector

Selects the element that is the root of the document. In HTML, the root of the document, and thus the element that $(":root") selects, is always the <html> element. jQuery( ":root" ) version added: 1.9 Examples: Display the tag name of the root element. <!doctyp

:reset selector

Selects all elements of type reset. :reset is equivalent to [type="reset"] Because :reset is a jQuery extension and not part of the CSS specification, queries using :reset cannot take advantage of the performance boost provided by the native DOM querySelectorAll() method. For better performance in modern browsers, use [type="reset"] instead. jQuery( ":reset" ) version added: 1.0

Explode effect

The explode effect hides or shows an element by splitting it into pieces. explode pieces (default: 9) Integer The number of pieces to explode, should be a perfect square, any other values are rounded to the nearest square.

.hasClass()

Determine whether any of the matched elements are assigned the given class. Elements may have more than one class assigned to them. In HTML, this is represented by separating the class names with a space: <div id="mydiv" class="foo bar"></div> The .hasClass() method will return true if the class is assigned to an element, even if other classes also are. For example, given the HTML above, the following will return true: $( "#mydiv" ).hasCla

Bounce effect

The bounce effect bounces an element. When used with hide or show, the last or first bounce will also fade in/out. bounce distance (default: 20) Number The distance of the largest "bounce" in pixels. times (default: 5)

.replaceWith()

Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed. The .replaceWith() method removes content from the DOM and inserts new content in its place with a single call. Consider this DOM structure: <div class="container"> <div class="inner first">Hello</div> <div class="inner second">And</div> <div class="inner third">Goodbye</div>