.clone()

Create a deep copy of the set of matched elements. The .clone() method performs a deep copy of the set of matched elements, meaning that it copies the matched elements as well as all of their descendant elements and text nodes. Note: For performance reasons, the dynamic state of certain form elements (e.g., user data typed into textarea and user selections made to a select) is not copied to the cloned elements. When cloning input elements, the dynami

.ajaxError()

Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event. Whenever an Ajax request completes with an error, jQuery triggers the ajaxError event. Any and all handlers that have been registered with the .ajaxError() method are executed at this time. Note: This handler is not called for cross-domain script and cross-domain JSONP requests. To observe this method in action, set up a basic Ajax load request. <butto

jQuery.data()

Store arbitrary data associated with the specified element. Returns the value that was set. Note: This is a low-level method; a more convenient .data() is also available. The jQuery.data() method allows us to attach data of any type to DOM elements in a way that is safe from circular references and therefore free from memory leaks. jQuery ensures that the data is removed when DOM elements are removed via jQuery methods, and when the user leaves the pa

.removeUniqueId()

Remove ids that were set by .uniqueId() for the set of matched elements. The .removeUniqueId() will remove ids that were set by .uniqueId(). Calling .removeUniqueId() on an element that did not have its id set by .uniqueId() will have no affect, even if the element has an id. .removeUniqueId() version added: 1.9 This method

:eq() selector

Select the element at index n within the matched set. The index-related selectors (:eq(), :lt(), :gt(), :even, :odd) filter the set of elements that have matched the expressions that precede them. They narrow the set down based on the order of the elements within this matched set. For example, if elements are first selected with a class selector (.myclass) and four elements are returned, these elements are given indices 0 through 3 for the purposes of

Collapsible

Creates a collapsible block of content Collapsible content To create a collapsible block of content, create a container and add the data-role="collapsible" attribute. Using the data-content-theme attribute allows you to set a theme for the content of the collapsible. Directly inside this container, add any header (H1-H6) or legend element. The framework will style the header to look like a clickable button and add a "+" icon to the left to indi

Grid Layout

Multi-column layout grids Using multiple column layouts isn't generally recommended on a mobile device because of the narrow screen width, but there are times where you may need to place small elements side-by-side (like buttons or navigation tabs, for example). The jQuery Mobile framework provides a simple way to build CSS-based columns through a block style class convention called ui-grid. There are four preset layouts that can be used in an

.dblclick()

Bind an event handler to the "dblclick" JavaScript event, or trigger that event on an element. This method is a shortcut for .on( "dblclick", handler ) in the first two variations, and .trigger( "dblclick" ) in the third. The dblclick event is sent to an element when the element is double-clicked. Any HTML element can receive this event. For example, consider the HTML: <div id="target"> Double-click here </div> <div id="other"> T

:not() selector

Selects all elements that do not match the given selector. All selectors are accepted inside :not(), for example: :not(div a) and :not(div,a). Additional Notes The .not() method will end up providing you with more readable selections than pushing complex selectors or variables into a :not() selector filter. In most cases, it is a better choice. jQuery( ":not(selector)" ) version added: 1.0

.parent()

Get the parent of each element in the current set of matched elements, optionally filtered by a selector. Given a jQuery object that represents a set of DOM elements, the parent() method traverses to the immediate parent of each of these elements in the DOM tree and constructs a new jQuery object from the matching elements. This method is similar to .parents(), except .parent() only travels a single level up the DOM tree. Also, $( "html" ).parent() me