tadam logo
Did you find an error in the text?
Select this with mouse and press
Ctrl + Enter
Xhtml.co.il Check Spelling
Orphus system

jQuery Attributes

Attr:
Returns: String
Get the value of an attribute for the first element in the set of matched elements.
Remove an attribute from each element in the set of matched elements.
Class:
Returns: jQuery
Adds the specified class(es) to each of the set of matched elements.
Returns: Boolean
Determine whether any of the matched elements are assigned the given class.
Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
HTML:
Returns: String
Get the HTML contents of the first element in the set of matched elements.
Text:
Returns: String
Get the combined text contents of each element in the set of matched elements, including their descendants.
Value:
Returns: String, Array
Get the current value of the first element in the set of matched elements.
Manipulation:
Returns: String
Get the value of a property for the first element in the set of matched elements.
Remove a property for the set of matched elements.
Was this information helpful?
   

Comments