Utility Functions
These are miscellaneous jQuery functions and properties (not methods); see Chapter 7 for more details.
jQuery.boxModelA deprecated synonym for
jQuery.support.boxModel.jQuery.browserThis property refers to an object that identifies the browser vendor and version. The object has the property
msiefor Internet Explorer,mozillafor Firefox,webkitfor Safari and Chrome, andoperafor Opera. Theversionproperty is the browser version number.jQuery.contains(a,b):booleanReturns true if document element
acontains elementb.jQuery.data(elt):datajQuery.data(elt,key):valuejQuery.data(elt,data)jQuery.data(elt,key,value)A low-level version of the
data()method. With one element argument, return the data object for that element. With an element and a string, return the named value from that element’s data object. With an element and an object, set the data object for the element. With an element, string, and value, set the named value in the element’s data object.jQuery.dequeue(elt, [qname="fx"])Removes and invokes the first function in the named queue of the specified element. It is the same as
$(elt).dequeue(qname).jQuery.each(o,f(name,value)):ojQuery.each(a,f(index,value)):aInvoke
fonce for each property ofo, passing the name and value of the property and invokingfas a method of the value. If the first argument is an array or array-like object, invokefas a method of each element in the array, passing the array index and element value as arguments. Iteration ...