Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Selectors in jQuery?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 117
    Comment on it

    Selectors are the entity which we used to select HTML elements from web page in jQuery. Selector in jQuery always start with dollar($)sign and parentheses like as $().


    There are three ways to select the elements in a web page.


    1) Select elements by tag name

    Example- $(select) It will select all the select type elements in the page.


    2) Select elements by id

    Example- $('#mybox') It will select the element having id mybox in the page.


    3) Select elements by class name

    Example- $('.check') It will select the elements having class check in the page.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: