Category: General Attributes

Category: General Attributes

These methods get and set DOM attributes of elements

.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.