:enabled (since jQuery 1.0) selects form controls that are currently enabled — interactive, with disabled === false. It is a standard CSS pseudo-class and the natural partner of :disabled.
Syntax
Start with these common calls. Keep them short and readable.
jQuery
$("input:enabled") // interactive inputs
$("button:enabled") // clickable buttons
$("#form :enabled") // enabled controls in a form
// :enabled → disabled property === false
// :not([disabled]) → no disabled attribute in markup
// Toggle with .prop("disabled", false|true)
:enabled → 1
:not([disabled]) → 2
(fieldset child has no attribute but is not enabled)
How It Works
Attribute.:not([disabled]) only checks markup.
Live.:enabled requires disabled === false.
Fieldset. A child of <fieldset disabled> may lack its own attribute yet still be disabled.
Frequently Asked Questions
:enabled matches form elements that are currently enabled — interactive and editable. $("input:enabled") finds every enabled input in the search context. Available since jQuery 1.0.
Official jQuery docs: results are usually similar, but :enabled selects elements whose disabled property is strictly false, while :not([disabled]) selects elements without a disabled attribute in the markup. A control inside a disabled fieldset may still fail :enabled even without its own attribute.
Bare :enabled implies the universal selector — equivalent to $("*:enabled"), which scans every element type. Prefer $("input:enabled"), $("button:enabled"), or $("#form :enabled").
Official docs: use it for elements that support the disabled attribute — button, input, select, textarea, optgroup, option, fieldset, and menuitem.
Use .prop("disabled", false) to enable and .prop("disabled", true) to disable. Use :enabled to find controls that are interactive. Prefer .prop over .attr for boolean form properties.
Yes. :enabled is a standard CSS pseudo-class for form controls. jQuery has supported it since 1.0. Prefer a tag prefix for clarity and performance.