December 2013
Intermediate to advanced
384 pages
9h 54m
English
$("input:checked"); //selects <input> elements that are checked $("option:selected"); //selects <option> elements that are selected $("#myForm :focus"); //selects the element in the #myForm <form> //that currently has the focus $("input:disabled"); //selects <input> elements that are currently disabled
An extremely useful set of selectors when working with dynamic HTML forms is the form jQuery selectors. These selectors allow you to select elements in the form based on the state of the form element. Table 4.5 shows some examples of form selectors.
Table 4.5 Examples ...
Read now
Unlock full access