Answers for "how to use readonly in html"

2

js making input non typeable

//Use readonly

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

using value attribute in input tag makes it read only

use defaultValue tag
Posted by: Guest on August-04-2020

Browse Popular Code Answers by Language