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

Form Filters

:enabled

This will find all the enabled elements in the document.

                        $("input:enabled")

This code will find the enabled input elements not the disabled one.

:disabled

This will find all the disabled elements in the document.

                        $("input:disabled")

This code will find the disabled input elements not the enabled one.

:checked

This will match all the check boxes which are currently checked. The syntax is :

                        $("input:checked")

:selected

This matches the elements or options that are selected in a dropdown or in listbox.

                   $("select option:selected")

This code finds the currently selected options in the dropdown.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 2 and 8 and type the answer here:

User Comments

Title: good   
Name: 00
Date: 1/28/2010 10:44:36 PM
Comment:
thanks
Title: Request   
Name: Pls write more article on JQuery
Date: 5/12/2009 6:46:55 AM
Comment:
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: 5/11/2009 10:26:46 AM
Comment:
Really I have been searching this type of article for last 2 months.Thank you Nihar.
Title: Excellent boss   
Name: Sumoon
Date: 5/11/2009 10:23:15 AM
Comment:
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-2012 ASPAlliance.com  |  Page Processed at 2/11/2012 12:28:56 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search