jQuery.noConflict()

Relinquish jQuery's control of the $ variable. Many JavaScript libraries use $ as a function or variable name, just as jQuery does. In jQuery's case, $ is just an alias for jQuery, so all functionality is available without using $. If you need to use another JavaScript library alongside jQuery, return control of $ back to the other library with a call to $.noConflict(). Old references of $ are saved during jQuery initialization; noConflict() simply re

jQuery.extend()

Merge the contents of two or more objects together into the first object. When two or more object arguments are supplied to $.extend(), properties from all of the objects are added to the target object. Arguments that are null or undefined are ignored. If only one argument is supplied to $.extend(), this means the target argument was omitted. In this case, the jQuery object itself is assumed to be the target. By doing this, you can add new functions t

.last()

Reduce the set of matched elements to the final one in the set. Given a jQuery object that represents a set of DOM elements, the .last() method constructs a new jQuery object from the last element in that set. Consider a page with a simple list on it: <ul> <li>list item 1</li> <li>list item 2</li> <li>list item 3</li> <li>list item 4</li> <li>list item 5</li> </ul> We ca

pagebeforehide event

Triggered on the "fromPage" we are transitioning away from, before the actual transition animation is kicked off. Note: The triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.6.0. The replacement for pagebeforehide is the pagecontainer widget's pagecontainerbeforehide event. In jQuery Mobile 1.4.0, the two events are identical except for their name and the fact that pagecontainerbeforehide is

pagebeforeload event

Triggered before any load request is made. Note: The triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.6.0. The replacement for pagebeforeload is the pagecontainer widget's pagecontainerbeforeload event. In jQuery Mobile 1.4.0, the two events are identical except for their name and the fact that pagecontainerbeforeload is triggered on the pagecontainer, whereas pagebeforeload is triggered on

vmouseup event

Virtualized mouseup 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 re

pageloadfailed event

Triggered if the page load request failed. Note: The triggering of this event is deprecated as of jQuery Mobile 1.4.0. It will no longer be triggered in 1.6.0. The replacement for pageloadfailed is the pagecontainer widget's pagecontainerloadfailed event. In jQuery Mobile 1.4.0, the two events are identical except for their name and the fact that pagecontainerloadfailed is triggered on the pagecontainer, whereas pageloadfailed is triggered on

.scrollParent()

Get the closest ancestor element that is scrollable. This method finds the nearest ancestor that allows scrolling. In other words, the .scrollParent() method finds the element that the currently selected element will scroll within. Note: This method only works on jQuery objects containing one element. .scrollParent() This method does not accept

pagebeforecreate event

Triggered on the page being initialized, before most plugin auto-initialization occurs. Note: This event is part of the page widget as of jQuery Mobile 1.4.0. Please consult the documentation for the page widget's implementation. jQuery( ".selector" ).on( "pagebeforecreate", function( event ) { ... } )

deferred.notifyWith()

Call the progressCallbacks on a Deferred object with the given context and args. Normally, only the creator of a Deferred should call this method; you can prevent other code from changing the Deferred's state or reporting status by returning a restricted Promise object through deferred.promise(). When deferred.notifyWith is called, any progressCallbacks added by deferred.then or deferred.progress are called. Callbacks are executed in the order they we