Today, we will learn how to toggle the 'disabled' attribute of input elements in a div block using jQuery.
The 'disabled' attributed is set to HTML input elements where user input is not desirable. When 'disabled' attribute is set to an input element, it is rendered read only. The read only input elements make lot of sense in various contexts.
<input type="text" name="elementName" disabled="disabled" />
Wouldn't it be more fun if we play around with the 'disabled' attribute programmatically? We are going to do exactly the same in this example.
Recent comments
7 hours 31 min ago
9 hours 52 min ago
1 day 2 hours ago
2 days 3 hours ago
2 days 5 hours ago
3 days 8 hours ago
3 days 12 hours ago
3 days 13 hours ago
3 days 17 hours ago
4 days 5 hours ago