Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

make input not editable for user js

document.getElementById('TextBoxID').readOnly = true;    //to enable readonly


document.getElementById('TextBoxID').readOnly = false;   //to  disable readonly
 
PREVIOUS NEXT
Tagged: #input #editable #user #js
ADD COMMENT
Topic
Name
8+7 =