HTML & CSS

Non-Editable Text Field In HTML Javascript (Disabled & Readonly)

Welcome to a quick tutorial on how to create a non-editable text field in HTML and Javascript. Want to “fix” a text field in HTML or Javascript? Prevent the user from changing the value? To create a non-editable text field in HTML, we can either attach the readonly or disabled attribute. <input type=”text” readonly> <input

Non-Editable Text Field In HTML Javascript (Disabled & Readonly) Read More »