Answers for "how to unable input text in JS"

0

how to unable input text in JS

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


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

Browse Popular Code Answers by Language