cycling jQuery_Succinctly | Page 62

})(jQuery); Notes: If the check box or radio button is already selected, using val() will not clear the input element. Determining if a check box or radio button is selected or cleared We can determine if a check box input or radio button input is selected or cleared by using the :checked form filter. Examine the code below for several usages of the :checked filter. Sample: sample57.html How to determine if a form element is hidden You can determine if a form element is hidden using the :hidden form filter. Examine the code below for several usages of the :checked filter. Sample: sample58.html 62