WHAT ARE JQUERY CLASS SELECTORS AND ID SELECTORS EXPLAIN THEM?

Arun Singh

Total Post:310

Points:1550
Posted by  Arun Singh
JQuery 
 2420  View(s)
Ratings:
Rate this:
  1. Arun Singh

    Post:310

    Points:1550
    What are jQuery Class Selectors and ID selectors Explain them?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!