.prepend()

Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. The .prepend() method inserts the specified content as the first child of each element in the jQuery collection (To insert it as the last child, use .append()). The .prepend() and .prependTo() methods perform the same task. The major difference is in the syntaxâspecifically, in the placement of the content and target. With .prepend(), the sele

pageinit event

Triggered on the page being initialized, after initialization occurs. We recommend binding to this event instead of DOM ready() because this will work regardless of whether the page is loaded directly or if the content is pulled into another page as part of the Ajax navigation system. $( document ).on( "pageinit", "#aboutPage", function( event ) { alert( "This page was just enhanced by jQuery Mobile!" ); }); Note: This event has been depreca

:first-of-type selector

Selects all elements that are the first among siblings of the same element name. The :first-of-type selector matches elements that have no other element with both the same parent and the same element name coming before it in the document tree. jQuery( ":first-of-type" ) version added: 1.9 Examples:

:lt() selector

Select all elements at an index less than index within the matched set. index-related selectors The index-related selectors (including this "less than" selector) 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 ar

Fold effect

The fold effect hides or shows an element by folding it. fold size (default: 15) Number or String The size of the "folded" element. horizFirst (default: false) Boolean Whether the hori

:only-child selector

Selects all elements that are the only child of their parent. If the parent has other child elements, nothing is matched. jQuery( ":only-child" ) version added: 1.1.4 Examples: Change the text and add a border for each button that is the only child of its parent. <!do

vmousemove event

Virtualized mousemove event handler. We provide a set of "virtual" mouse events that attempt to abstract away mouse and touch events. This allows the developer to register listeners for the basic mouse events, such as mousedown, mousemove, mouseup, and click, and the plugin will take care of registering the correct listeners behind the scenes to invoke the listener at the fastest possible time for that device. In touch environments, the plugin

jQuery.param()

Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string or Ajax request. In case a jQuery object is passed, it should contain input elements with name/value properties. This function is used internally to convert form element values into a serialized string representation (See .serialize() for more information). As of jQuery 1.3, the return value of a function is used instead of the fun

jQuery.mobile.getDocumentUrl()

Retrieve the URL of the original document. jQuery.mobile.getDocumentUrl( asParsedObject ) asParsedObject (default: false) Boolean The function normally returns the original document's URL as a string. However, if you specify a truthy value for this parameter, the original document's URL will be

vmousedown event

Virtualized mousedown event handler. We provide a set of "virtual" mouse events that attempt to abstract away mouse and touch events. This allows the developer to register listeners for the basic mouse events, such as mousedown, mousemove, mouseup, and click, and the plugin will take care of registering the correct listeners behind the scenes to invoke the listener at the fastest possible time for that device. In touch environments, the plugin