Answers for "jquery add disabled to id"

0

jquery add disabled to id

$("#inputID"). prop('disabled', true); //disable.
$("#inputID"). prop('disabled', false); //enable.
$("#inputID"). attr('disabled','disabled'); //disable.
$("#inputID"). removeAttr('disabled'); //enable.
Posted by: Guest on September-07-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language