SyntaxFix
Write A Post
Hire A Developer
Questions
Check the code below:
<input id="mail"> <script> document.getElementById('mail').readOnly = true; // makes input readonline document.getElementById('mail').readOnly = false; // makes input writeable again </script>