-
Book Overview & Buying
-
Table Of Contents
jQuery 1.4 Reference Guide
The following selectors can be used to access form elements in a variety of states. When using any of the form selectors other than :input, providing a tag name as well is recommended (for example, input:text rather than :text).
Form element (:input): Select all form elements (<input> (all types), <select>, <textarea>, <button>)
Text field (:text): Select all text fields (<input type="text">)
Password field (:password): Select all password fields (<input type="password">)
Radio button (:radio): Select all radio button fields (<input type="radio">)
Checkbox (:checkbox): Select all checkbox fields (<input type="checkbox">)
Submit button (:submit): Select all submit inputs and button elements (<input type="submit">, <button>)
Image button (:image): Select all image inputs (<input type="image">)
Reset button (:reset): Select all reset buttons (<input type="reset">)
Standard button (:button): Select all button...
Change the font size
Change margin width
Change background colour