[Javascript] READONLY textarea in Netscape

Mark Christie MChristie at avsgroup.com
Fri May 4 13:35:10 CDT 2001


That's because it should be:
<TEXTAREA onFocus="this.blur()">

Sorry for the previous error, I misread my reference...

Regards,
   -Mark C.

-----Original Message-----
From: Reuben D Budiardja [mailto:reubendb at goshen.edu]
Sent: Friday, May 04, 2001 1:27 PM
To: javascript at LaTech.edu
Subject: Re: [Javascript] READONLY textarea in Netscape


Thanks all for the replies. Although none of them worked, I got the idea :).
<TEXTAREA onFocus="self.blur()"> make other windows suddenly actives.. 
don't know why.
<TEXTAREA onFocus="window.focus()"> does n't do anything for me .... don't 
know why either.
DISABLE and READONLY also don't work.

So, this is what I do
<TEXTAREA onFocus="document.formName.OtherSubmitButton.focus()">
since I have another submit button. It works like a charm.

Thanks again for the suggestion.

Reuben D. Budiardja


At 10:42 AM 5/4/01 -0500, you wrote:

>     You could perhaps try <TEXTAREA onFocus="window.focus()">, but I don't
>know how that will respond in Netscape.
>
>     How about using DHTML and writing all the information into a DIV?
>
>----- Original Message -----
>From: "Reuben D Budiardja" <reubendb at goshen.edu>
>To: <javascript at LaTech.edu>
>Sent: Friday, May 04, 2001 10:22 AM
>Subject: [Javascript] READONLY textarea in Netscape
>
>
> >
> > Hello,
> > This sounds like a simple question, but I haven't found the answer. Can
> > anyone tell me how to make a textarea READONLY in Netscape? Something
like
> > <TEXTAREA READONLY> only works in IE. Is there any way to emulate this
in
> > netscape?
> >
> > Basically I want to display information in an object that I can easily
> > manipulate using JAvascript to display read only information
dynamically.
> > This information will be fed from other form from other pop-up windows.
I
> > don't want the user to be able to change this readonly information
>directly
> > (that's way I want it to make it readonly). I though the best and
easiest
> > way would be to use textarea, until I encounter this problem. So, any
> > suggestion would be highly appreciated.
> >
> > Thanks.
> > Reuben D. Budiardja
>
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>http://www.LaTech.edu/mailman/listinfo/javascript


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list