html input readonly true false

 

 

 

 

If I run this sample code in Firefox, it works fine, but in IE you have to click the input field twice before the readonly change takes for some reason.