Roshan Book

My Tech Notebook

Jquery


Jquery – Select

• $(“#result#”) selects the item with HTML ID result
• $(“p”) selects all paragraph elements
• $(“p.summary”) selects all paragraph elements with class summary
• $(“a”) selects all anchor tags
• $(“p a”) selects all anchor tags in a paragraph
• $(“p > a”) selects all anchor tags whose immediate parent is a paragraph tag
• $(“li > p”) selects all p tags whose immediate parent is a li tag
• $(“p.summary > a”) selects all anchor tags whose immediate parent is a
paragraph tag with class summary
• $(“table.striped tr:even”) selects even-numbered rows from all tables
belonging to class striped

 

 

3 responses to “Jquery

  1. Alesia Renolds December 9, 2011 at 9:36 pm

    Hi there ,have been searching for this info for sometime now and finally found it. Good work and great looking site. Thank you

  2. Ashlee Ringel December 15, 2011 at 1:02 pm

    Can I just say what a relief to seek out someone who really knows what theyre talking about on the internet. You positively know how to convey an issue to light and make it important. More people have to read this and understand this side of the story. I cant imagine youre not more standard because you undoubtedly have the gift.

  3. Carole Cange December 17, 2011 at 3:09 am

    Exactly what is the Application?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: