Sel Input Disabled
## jQuery :disabled Selector
The `:disabled` selector is a built-in jQuery selector used to target and select all form elements that have the `disabled` attribute.
Disabled elements are typically non-interactive, meaning users cannot click, type, or focus on them, and their values are not submitted with the form.
---
## Syntax
```javascript
$(":disabled")
```
### Return Value
* Returns a jQuery object containing all matched elements that are currently disabled.
---
## Usage and Examples
The `:disabled` selector is commonly used to style disabled elements, toggle their states dynamically, or perform validation checks before form submission.
### Example 1: Basic Selection and Styling
In this example, we select all disabled elements on the page and change their background color to light gray.
```html
jQuery :disabled Selector Example
YouTip