Answers for "make input not editable for user js"

1

make input not editable for user js

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


document.getElementById('TextBoxID').readOnly = false;   //to  disable readonly
Posted by: Guest on May-16-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language