A Selector identifies an HTML element tag that is used to manipulate with jQuery code.
Selectors allow page elements to be selected. $ is the symbol used for it. $ can also be called as jQuery selector. Selectors are the most important part of the jQuery , we can say that heart of jQuery.
Selectors syntax can be in either of following 2 ways :
$(Selector Expression)
or
jQuery(Selector Expression)
jQuery has different types of selectors 1. Class Selectors 2. ID Selectors 3. Element Selectors
jQuery has different types of selectors
1. Class Selectors
2. ID Selectors
3. Element Selectors
Tags: BRH, jQuery, class selectors, selectors, ID selectors,