80
Forms Disabled Elements
There are two ways to disable a form element.
disabled class: The disabled class can be applied to any elements of HTML.
disabled attribute: The disabled attribute can only be applied for form elements like input, textarea and select.
Note: Disabled element has lower opacity and doesn’t receive any touch/click events.
Example
Let’s take an example to demonstrate disabled class and disabled attribute.
Next TopicFramework7 Form Data