How to prevent user from changing textfield value in html without disabling the text field.
to do that, I used the onfocus="javascript:this.blur()"
<input type="text" name="focus" value="You can not change me. try it" onfocus="javascript:this.blur();" size="100"/>
<input type="text" name="focus" value="You can not change me. try it" onfocus="javascript:this.blur();" size="100"/>