Mega Code Archive

 
Categories / JavaScript Tutorial / JQuery
 

JQuery custom filter selectors

Selector             Description :animated            Selects animated elements.  :button              Selects button (input[type=submit], input[type=reset],input[type=button], or button). :checkbox            Selects check box elements (input[type=checkbox]). :checked             Selects check checked boxes or radio buttons. :contains(foo)       Selects only elements containing the text foo. :disabled            Selects disabled form elements. :enabled             Selects enabled form elements. :file                Selects file elements (input[type=file]). :header              Selects headers elements; for example: <h1> through <h6> elements. :hidden              Selects hidden elements. :image               Selects form images (input[type=image]). :input               Selects form elements (input, select, textarea, button). :not(filter)         Negates the specified filter. :parent              Selects elements that have children (including text), but not empty elements. :password            Selects password elements (input[type=password]). :radio               Selects radio elements (input[type=radio]). :reset               Selects reset buttons (input[type=reset] or button[type=reset]). :selected            Selects option elements that are selected. :submit              Selects submit buttons (button[type=submit] or input[type=submit]). :text                Selects text elements (input[type=text]). :visible             Selects elements that are visible.