A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/form/api/form_isdisabled_method/ below:

Website Navigation


JavaScript Form - isDisabled Method

isDisabled()

checks whether a form is disabled

isDisabled(name?: string): boolean;

Returns:

true, if a form is disabled; otherwise, false.

Example

form.isDisabled(); // -> true/false

Related sample: Form. Is disabled

To check whether a form control is disabled, pass either the name of the control or its id (if the name attribute is not defined in the config of the control) as a parameter to the isDisabled() method:

form.isDisabled("combo"); // -> true/false
Change log:

added in v6.4


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