Attributes
-
jQuery .removeProp( String propertyName )
Remove a property for the set of matched elements.
-
jQuery .prop( String propertyName, Function function(index, oldPropertyValue) )
Set one or more properties for the set of matched elements.
-
jQuery .val( Function function(index, value) )
Set the value of each element in the set of matched elements.
-
jQuery .html( Function function(index, oldhtml) )
Set the HTML contents of each element in the set of matched elements.
-
jQuery .toggleClass( Function function(index, class, switch), Boolean switch )
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.
-
jQuery .removeClass( Function function(index, class) )
Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
-
Boolean .hasClass( String className )
Determine whether any of the matched elements are assigned the given class.
-
jQuery .removeAttr( String attributeName )
Remove an attribute from each element in the set of matched elements.
-
jQuery .attr( String attributeName, Function function(index, attr) )
Set one or more attributes for the set of matched elements.
-
jQuery .addClass( Function function(index, currentClass) )
Adds the specified class(es) to each of the set of matched elements.