Re: Call to external function

From: Date: Fri, 23 Apr 2004 14:41:42 +0000
Subject: Re: Call to external function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-184394@lists.php.net to get a copy of this message
This is more of a JavaScript than a PHP question. Maybe you could search google for 'stop JavaScript function' or something. Torsten "Jeff McKeon" <jmckeon@telaurus.com> wrote in message news:B3F5C378E4B6034CA27B15C99E9133CEC13EB5@exch01tc07927.telaurus.net... > > [snip] > Is this possible? > [/snip] > > Anything is possible! > > Have you considered echoing the javascript code out via PHP? > Yes, but I can't seem to get the right javascript code figured out. I have the script start when the page loads with an onload=function('go') in the <body> tag. But I need someway to turn it off... A simple: Echo "<script>function('stop')</script>"; at the end of the page doesn't seem to work. Should it? Jeff

« previous php.general (#184394) next »