Disable HTML Elements

HTML elements can be made inactive and non-responsive by using the disable attribute. When HTML controls are disabled, they appear dimmed and don’t respond to user input. This is useful when you’re trying to prevent a user from entering information into controls that do not apply to them, potentially cutting the amount of validation needed.

Sample code:

 ------------------------------------------------------------------------------------------------------------------------------------------------------------------

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: