jQuery Functions Flashcards
.add()
Add elements to the set of matched elements.
.addBack()
Add the previous set of elements on the stack to the current set, optionally filtered by a selector.
.addClass()
Adds the specified class(es) to each of the set of matched elements.
.after()
Insert content, specified by the parameter, after each element in the set of matched elements.
.ajaxComplete()
Register a handler to be called when Ajax requests complete. This is an AjaxEvent.
.ajaxError()
Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.
.ajaxSend()
Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.
.ajaxStart()
Register a handler to be called when the first Ajax request begins. This is an Ajax Event.
.ajaxStop()
Register a handler to be called when all Ajax requests have completed. This is an Ajax Event.
.ajaxSuccess()
Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.
AllSelector(“*”)
Selects all elements.
.andSelf()
Add the previous set of elements on the stack to the current set.
.animate()
Perform a custom animation of a set of CSS properties.
:animated Selector
Select all elements that are in the progress of an animation at the time the selector is run.
.append()
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
.appendTo()
Insert every element in the set of matched elements to the end of the target.
.attr
Get the value of an attribute for the first element in the set of matched elements or set one or more attributes for every matched element.
Attribute Contains Prefix Selector [name|=”value”]
Selects elements that have the specified attribute with a value either equal to a given string or starting with that string followed by a hyphen (-).
Attribute Contains Selector [name*=”value”]
Selects elements that have the specified attribute with a value containing the a given substring.
Attribute Contains Word Selector [name~=”value”]
Selects elements that have the specified attribute with a value containing a given word, delimited by spaces.
Attribute Ends With Selector [name$=”value”]
Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive.