Answers for "In HTML, which of the following attributes is used to make an input field read-only?"

3

readonly attribute in html by javascript

document.getElementById("yourID").readOnly = true;
Posted by: Guest on November-10-2020

Code answers related to "In HTML, which of the following attributes is used to make an input field read-only?"

Code answers related to "Javascript"

Browse Popular Code Answers by Language