Re: Netscape onclick event

by "Derek Lavine" <derek(at)realware.com.au>

 Date:  Wed, 30 May 2001 14:33:29 +1000
 To:  "Larry Coats" <lcoats(at)gte.net>
 Cc:  <hwg-languages(at)hwg.org>
 References:  p ci241455a com gte
  todo: View Thread, Original
Thanks Larry,

I fixed the comment problem but it still does not work in NS.
Thanks anyway
Derek

----- Original Message -----
From: Larry Coats <lcoats(at)gte.net>
To: Derek Lavine <derek(at)realware.com.au>
Cc: <hwg-languages(at)hwg.org>
Sent: Wednesday, May 30, 2001 1:20 PM
Subject: Re: Netscape onclick event


>
>
> Derek Lavine wrote:
>
> > I have a simple form with some javascript and it all works fine in IE
but
> > Netscape is playing up (or perhaps it is me) anyway the problem with NS
is
> > that the formActionSet method is not being called when I click either
the
> > guest or login graphic on the form. Is there a way I can get this to
work,
> > or is there another approach that will work for both these browsers (and
> > others)
> >
> > P.S. I know that formActionSet() is not being called in NS as I put an
> > alert("message") in that function and it did not appear.
> >
> > <script language="JavaScript">
> >
> > <!--
> > -->
> > </script>
>
> Your script and HTML code both looked to me like they should work. But on
the
> line where you have -->, you need to have // --> so that the browser
doesn't
> try to treat the --> as javascript code. Try that first and see if it
helps.
>
> Did you check the javascript console? There may have been an error message
to
> help you out. (Bring up the javascript console by typing "javascript:"
> (without the quotes) in the location line.
>
> Larry Coats
>

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA