Answers for "make input uneditable"

2

js making input non typeable

//Use readonly

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

uneditable input html

<form 
      action="/action_page.php">

  <label for="country">Country:</label> 
  <input type="text" 
         id="country" name="country" value="Norway" readonly><br><br>

  <input type="submit" value="Submit">

</form>
Posted by: Guest on August-09-2021

Code answers related to "make input uneditable"

Browse Popular Code Answers by Language