Answers for "how to set readonly attribute to a tag in html using javascript"

3

readonly attribute in html by javascript

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

Code answers related to "how to set readonly attribute to a tag in html using javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language