Tuesday, April 19, 2005 

How to make textfield uneditable

You have two options...
1. Make it readonly:<input type="text" ... readonly />

2. Make it unfocusable:<input type="text" ... onFocus="this.blur();" />

The former being the better method, as the second one relies on the user having JavaScript enabled...