Re: [variable1] has no properties
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: [variable1] has no properties

From: David <dkbat6@hotmail.com>
Date: Wed Jul 20 2005 - 04:20:57 CEST

Randy Webb wrote:
>
> Set an onload event handler for the new window:
>
> winDVDCart.onload = functionToCall;
>
> And have functionToCall be the continuation function where it gets a
> reference to the table.
>

Well this seems to work fine in both browsers now, definitely not how I'd
like to do it, but I guess it works. Thanks for the help, and as for the:

winDVDCart.onload = functionToCall;

see my post in this group under the name "Adding events dynamically". It
appears that Firefox 1.0.5 doesn't like this syntax and will only call the
function if you put parentheses after it as in

winDVDCart.onload = functionToCall();

which is definitely not correct syntax and should do something totally
different. Anyway, just thought I'd add that on a side note.

Thanks again,

David
Received on Tue Oct 18 02:58:34 2005