[Added] JS nuIsEnabled(), nuIsDisabled()
Posted: Tue Dec 14, 2021 2:56 pm
The function nuIsEnabled() returns true, if an object is enabled and false, if it is disabled.
Example:
Likewise, the function nuIsDisabled() returns true, if an object is disabled and false, if it is enabled.
Example:
Wiki

Code: Select all
if (nuIsEnabled('object_id')) alert('The object is enabled');

Code: Select all
if (nuIsDisabled('object_id')) alert('The object is disabled');
