jQuery selectors allows to easily identify set of page elements for performing user friendly or required operations .
Class Selector (.) : A class selector is to identify class to search for. An element can have multiple classes. There is no restriction. Operations are applied based on the class that matches.
ID Selector (#) : An element can be selected or indentified based on id. It Matches a single element with the given id attribute.
Liked By
Write Answer
What are jQuery Class Selectors and ID selectors Explain them?
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
17-Oct-2011jQuery selectors allows to easily identify set of page elements for performing user friendly or required operations .
Class Selector (.) :
A class selector is to identify class to search for. An element can have multiple classes. There is no restriction. Operations are applied based on the class that matches.
ID Selector (#) :
An element can be selected or indentified based on id. It Matches a single element with the given id attribute.