-
Notifications
You must be signed in to change notification settings - Fork 35
Attributes
attributeName
The name of the attribute to get.
Get the value of an attribute for the first element in the set of matched elements.
attributeName
The name of the attribute to set.
value
A value to set for the attribute.
Set one or more attributes for the set of matched elements.
attributes
An object of attribute-value pairs to set.
This method does not accept any arguments.
Get the current value of the first element in the set of matched elements.
Set the value of each element in the set of matched elements.
value
A string of text corresponding to the value of each matched element to set as selected/checked.
propertyName
A CSS property name.
Set one CSS property for the set of matched elements.
properties
An object of property-value pairs to set.
Set CSS properties for the set of matched elements.