Web Development with jQuery®

(Elliott) #1

bapp09.indd 02/17/2015 Page 547


Utilities


METHOD/PROPERTY DESCRIPTION RETURN VALUE

$.clearQueue([queue]) Removes from the queue all items that
have not yet been executed.

jQuery

$.contains(
container,
contained
)

Determines whether a DOM element is a
descendant of another DOM element.

Boolean

$.dequeue(element
[, queue]
)

Executes the next function in the queue
for the matched element.

Undefi ned

$.extend(
target
[, object1]
[,.. .]
)

Extends the target object with one or
more specifi ed objects.

Object

$.extend(
[ deep,]
target
[, object1]
[,.. .]
)

Extends the target object with one or
more specifi ed objects. If the optional
deep argument is true, then the objects
are merged recursively (aka deep copy).

Object

$.fn.extend(object) Merges an object into jQuery itself. This
is used, for example, to create jQuery
plugins.

Object

I


continues

http://www.it-ebooks.info

Free download pdf