Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (22 sloc) 0.99 kB
<?xml version="1.0"?>
<entry type="selector" name="enabled" return="">
<title>:enabled Selector</title>
<desc>Selects all elements that are enabled.</desc>
<p>As with other pseudo-class selectors (those that begin with a ":") it is recommended to precede it with a tag name or some other selector; otherwise, the universal selector ("*") is implied. In other words, the bare <code>$(':enabled')</code> is equivalent to <code>$('*:enabled')</code>, so <code>$('input:enabled')</code> should be used instead. </p>
<desc>Finds all input elements that are enabled.</desc>
<code><![CDATA[$("input:enabled").val("this is it");]]></code>
<input name="email" disabled="disabled" />
<input name="id" />
<category slug="selectors/form-selectors"/>
<category slug="version/1.0"/>
Jump to Line
Something went wrong with that request. Please try again.