html disable editing textbox

Solutions on MaxInterview for html disable editing textbox by the best coders in the world

showing results for - "html disable editing textbox"
Albert
09 Feb 2018
1<!-- 
2You can either use the readonly or the disabled attribute.
3Note that when disabled, the input's value will not be submitted when
4submitting the form.
5-->
6<input id="price_to" value="price to" readonly="readonly">
7<input id="price_to" value="price to" disabled="disabled">