Home >Web Front-end >JS Tutorial >Implementation code for setting the disabled attribute of a button using jquery_jquery
To set the button to be disabled in the html tag, you can use the following code
In jquery you can use the attr() function to modify the button The disable attribute
$("#test").attr('disabled',false);
jquery controls the disabled attribute of the button