Re: H*lp with JS again
by "The Web Center" <admin(at)webctr.com>
||Thu, 9 Sep 1999 15:22:08 -0400
You can use the return value of a function with the assignment
operator...that one in perfectly legal.
----- Original Message -----
From: Rebecca Campbell <rcampbel(at)standard.com>
To: 'Fran Johnston' <johnstof(at)powerware.com>; <Hwg-basics(at)hwg.org>
Sent: Thursday, September 09, 1999 1:54 PM
Subject: RE: H*lp with JS again
> not entirely sure which code is going wrong. two things that jump out,
> though, is that you have two functions called openNewPage() that say
> different things.
> the other is that, at the top, you have
> window.onerror = stopError;
> but stopError is a function, not an object. i'm probably wrong about this
> second one because stopError has a return value, but i've not heard of
> setting anything equal to a function...
> what's the function that's failing? one way to find that out is to put
> alerts into your code to see where it stops running. for instance, if you
> put an alert in the first openNewPage() function and then one in the
> you'll be able to tell how far the script runs...
> rebecca campbell, business systems developer (503) 321-6466
> -----Original Message-----
> From: Fran Johnston [mailto:johnstof(at)powerware.com]
> Sent: Thursday, September 09, 1999 9:03 AM
> To: Hwg-basics(at)hwg.org
> Subject: H*lp with JS again
> Dear folk,
> Please take a look at http://www.powerware.com/intercompany/index1.htm and
> tell me why the JS for the drop-down boxes is not working.
> I've looked and looked. It's probably something stupid - but, I can't find
> Please respond to me privately as well as on list - as I get the digest
> version of this fine list.
> Fran Johnston
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA