.remove()

Remove the set of matched elements from the DOM. Similar to .empty(), the .remove() method takes elements out of the DOM. Use .remove() when you want to remove the element itself, as well as everything inside it. In addition to the elements themselves, all bound events and jQuery data associated with the elements are removed. To remove the elements without removing data and events, use .detach() instead. Consider the following HTML: <div class="con

.submit()

Bind an event handler to the "submit" JavaScript event, or trigger that event on an element. This method is a shortcut for .on( "submit", handler ) in the first variation, and .trigger( "submit" ) in the third. The submit event is sent to an element when the user is attempting to submit a form. It can only be attached to <form> elements. Forms can be submitted either by clicking an explicit <input type="submit">, <input type="image">

hashchange event

Enables bookmarkable #hash history. The jQuery Mobile .hashchange() event handler enables very basic bookmarkable #hash history by providing a callback function bound to the window.onhashchange event. The onhashchange event fires when a window's hash changes. In browsers that support it, the native HTML5 window.onhashchange event is used. In IE6/7 (and IE8 operating in "IE7 compatibility" mode), a hidden iframe is created to allow the back butt

jQuery.ajaxSetup()

Set default values for future Ajax requests. Its use is not recommended. For details on the settings available for $.ajaxSetup(), see $.ajax(). All subsequent Ajax calls using any function will use the new settings, unless overridden by the individual calls, until the next invocation of $.ajaxSetup(). Note: The settings specified here will affect all calls to $.ajax or Ajax-based derivatives such as $.get(). This can cause undesirable behavior since

Scale effect

Shrink or grow an element by a percentage factor. scale direction (default: "both") String The direction of the effect. Possible values: "both", "vertical" or "horizontal". origin (default: [ "middle", "center" ])

:first-child selector

Selects all elements that are the first child of their parent. While :first matches only a single element, the :first-child selector can match more than one: one for each parent. This is equivalent to :nth-child(1). jQuery( ":first-child" ) version added: 1.1.4 Examples: Finds the first span

.next()

Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector. Given a jQuery object that represents a set of DOM elements, the .next() method allows us to search through the immediately following sibling of these elements in the DOM tree and construct a new jQuery object from the matching elements. The method optionally accepts a selector

jQuery.map()

Translate all items in an array or object to new array of items. If you wish to process a jQuery object â for example, $('div').map( callback ); â use .map() instead. The $.map() method applies a function to each item in an array or object and maps the results into a new array. Prior to jQuery 1.6, $.map() supports traversing arrays only. As of jQuery 1.6 it also traverses objects. Array-like objects â those with a .length property and a value on the

.promise()

Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished. The .promise() method returns a dynamically generated Promise that is resolved once all actions of a certain type bound to the collection, queued or not, have ended. By default, type is "fx", which means the returned Promise is resolved when all animations of the selected elements have completed. Resolve context and sole argum

.is()

Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. Unlike other filtering methods, .is() does not create a new jQuery object. Instead, it allows you to test the contents of a jQuery object without modification. This is often useful inside callbacks, such as event handlers. Suppose you have a list, with two of its items containing a child