What are jQuery Class Selectors and ID selectors Explain them?
3732
17-Oct-2011
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.