hi chris,
you can use readonly as mentioned below.
<input type="text" name="textfield3" onfocus
"this.readOnly=true;">
This will work fine. And better suits for Your need.
Regards,
Maheedhar
> -----Original Message-----
> From: Chris Scott [SMTP:chris@e...]
> Sent: Monday, July 22, 2002 1:06 PM
> To: javascript
> Subject: [javascript] RE: Disabled Text Box or Dynamic Div or
> Something
>
> Hi Yuji,
>
> > hi all:
> > I have try this method but it seem it is no working.
> > this is what I wrote
> > <input type="text" name="textfield3" onfocus= this.blur>
> > Have I miss anything??
>
> Try...
>
> <input type="text" name="textfield3" onfocus="this.blur();">
>
> HTH,
>
> Chris
>
>
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
> http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20