disable editing input html code example
Example: 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">