December 17, 2015
Selectors in jQuery
As we know, jQuery is mainly used to manipulate HTML elements in DOM. The jQuery selectors play an important role in such manipulation. Selectors help you in selecting right HTML element for manipulation. You can add event handlers, styles, change attribute values of any HTML element etc.
Some of the most common jQuery selectors are given below:
- HTML Element Class Name
- HTML Element ID
- HTML Element Tag Name
- HTML Element Attribute Name
- HTML Element Attribute Value
For complete list of jQuery selectors, Click Here!