Answers for "javascript make text inputs read only"

3

readonly attribute in html by javascript

document.getElementById("yourID").readOnly = true;
Posted by: Guest on November-10-2020
1

javascript set readonly property

document.getElementById('InputFieldID').readOnly = true;
Posted by: Guest on March-07-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language