« Home | ♪♫ Phantom of the opera ♪♫ » | Update - Angel in action! » | Angel, send her my love~ » | Some Tips in Windows XP » | 原來一直幫我扛著頭上那片天的巨人也會變老。 » | 愿您生生世世都在菩提中 - 29 Oct 2004 » | My First Posting » 

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...