Answers for "remove readonly jquery"

1

jquery remove readonly

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

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

js remove readonly attribute

document.getElementById('myButton').onclick = function() {
    document.getElementById('myInput').removeAttribute('readonly');
};
Posted by: Guest on February-26-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language