Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to unable input text in JS

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


document.getElementById('TextBoxID').readOnly = false;   //to  disable readonly
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #unable #input #text #JS
ADD COMMENT
Topic
Name
5+5 =