:enabled
selectorThe jQuery :enabled
selector is used to select all elements that are enabled.
:enabled
selector should only be used for selecting HTML elements that support the disabled
attribute:
<button>
,<fiealdset>
,<input>
,<menuitem>
,<optgroup>
,<option>
,<select>
,<textarea>
:enabled
selector Syntax$(':enabled')
:enabled
selector ExamplesIn below example,We will hightlight all input checkbox that are enabled.