Form Selectors
Form Selectors in jquery is used to access the form elements more easily and professionally. Following are the properties of the form selectors.
The button selector is used to select all the form elements of input type button.
The :submit selector is used to select all form elements of input type submit. Typically applies to all buttons and input elements.
The :input selector is used to select all the form elements of input type input. Typically applies to input, textarea, buttons and form values.
The text selector is used to select all form elements of input type text. $(':text') is equivalent to $('[type=text]') and thus selects all form elements of input type text.
The :disabled selector is used to select all form elements of input type disabled.
The enabled selector is used to select all form elements of input type enabled.
The checked selector is used to select only the checked items in a form elements of input type checked.
The selected selector is used to select all the form elements of input type selected.