checks whether a Select control or a specific option inside the control is disabled
isDisabled(value?: string | number): boolean;
Parameters:value: string | number
- optional, the value of a specific option inside the controltrue
, if a control or a specific option is disabled; otherwise, false
.
Example
form.getItem("select").isDisabled(1); // -> true/false
Change log: The value parameter was added in v8.0
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4