Answers for "how to disable textbox in html"

1

html disable editing textbox

<!-- 
You can either use the readonly or the disabled attribute.
Note that when disabled, the input's value will not be submitted when
submitting the form.
-->
<input id="price_to" value="price to" readonly="readonly">
<input id="price_to" value="price to" disabled="disabled">
Posted by: Guest on February-02-2021
2

disable input type button in html

<input type="button" disabled value="Submit">
Posted by: Guest on November-26-2020

Code answers related to "how to disable textbox in html"

Browse Popular Code Answers by Language