Re: setTimeout not executing form submit
Thomas 'PointedEars' Lahn <PointedEars@we b.de> writes:
[color=blue]
> ACK, though I would prefer
>
> setTimeout(func tion foo() { obj.method(); }, 2000);
>
> for backwards compatibility.[/color]
Depending on how much you care about backwarts compatability,
you might have to do:
setTimeout("glo bal.path.to.obj .method()",2000 );
I don't like writing code inside strings, for many of the same reasons
that I don't like using "eval", but IE 4 and NS 3 needs it.
Which browsers will not understand anonymous functions, but do
understand functional arguments to setTimeout? I don't know of any
on the Windows platform.
/L
--
Lasse Reichstein Nielsen - lrn@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
							
						
					Thomas 'PointedEars' Lahn <PointedEars@we b.de> writes:
[color=blue]
> ACK, though I would prefer
>
> setTimeout(func tion foo() { obj.method(); }, 2000);
>
> for backwards compatibility.[/color]
Depending on how much you care about backwarts compatability,
you might have to do:
setTimeout("glo bal.path.to.obj .method()",2000 );
I don't like writing code inside strings, for many of the same reasons
that I don't like using "eval", but IE 4 and NS 3 needs it.
Which browsers will not understand anonymous functions, but do
understand functional arguments to setTimeout? I don't know of any
on the Windows platform.
/L
--
Lasse Reichstein Nielsen - lrn@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
 
	
Comment