Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

readonly javascript

document.getElementById("myElementId").setAttribute("readonly", "readonly");
document.getElementById("myElementId").removeAttribute("readonly");
Source by www.codeproject.com #
 
PREVIOUS NEXT
Tagged: #readonly #javascript
ADD COMMENT
Topic
Name
5+8 =