Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

readonly attribute in html by javascript

document.getElementById("yourID").readOnly = true; 
 
PREVIOUS NEXT
Tagged: #readonly #attribute #html #javascript
ADD COMMENT
Topic
Name
9+7 =