Answers for "how to make an input uneditable"

2

js making input non typeable

//Use readonly

<input id="myInput" readonly>
Posted by: Guest on June-01-2020
2

read only html

<!-- Using readonly attribute is use to prevent changing of input value. -->
Example:
<input type="text" name="username" value="lol" readonly>
Posted by: Guest on August-17-2020

Code answers related to "how to make an input uneditable"

Browse Popular Code Answers by Language