Answers for "jquery add readonly attribute to and remove"

1

jquery remove readonly

$('#id').removeAttr('readonly');

// or
$('#id').attr('readonly', false);
Posted by: Guest on August-12-2020
1

add readonly attribute jquery

$(input).attr('readonly', true);
Posted by: Guest on June-11-2020

Code answers related to "jquery add readonly attribute to and remove"

Code answers related to "Javascript"

Browse Popular Code Answers by Language