Exploring jQuery Selectors
page 5 of 11
by Nihar Ranjan Nayak
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 41392/ 118

Content Filters


Finds all elements which contain the given text.


The above code will find all the DIVs which contains the word 'John'. The argument passed inside contains() is string type and case sensitive.


Matches all elements that have no children (including text nodes).


This code will find all the Tds which doesn't have any value or are empty.


Matches elements which contain at least one element that matches the specified selector.


The above code will match the DIV elements which have a paragraph (p element) inside them. The attribute selector is a selector with which we want to filter by.


This finds all elements that are parents i.e. they have child elements, including text.


Finds all tds which have other child control, including text, inside them.

View Entire Article

User Comments

Title: good   
Name: 00
Date: 2010-01-28 10:44:36 PM
Title: Request   
Name: Pls write more article on JQuery
Date: 2009-05-12 6:46:55 AM
Hello Nihar
Please write more articles on JQuery.
Tume lekha ame sahajare khali padhi kam akribu
How is the IDEA?
Excellent Idea...
Title: Ureka   
Name: Lulu
Date: 2009-05-11 10:26:46 AM
Really I have been searching this type of article for last 2 months.Thank you Nihar.
Title: Excellent boss   
Name: Sumoon
Date: 2009-05-11 10:23:15 AM
Excellent Article boos.Please post tghis type of usefull articles more

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-05-22 7:41:48 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search