Re: Javascript function
| From: | Hugh Bothwell | Date: | Sat, 04 May 2002 22:38:10 +0000 |
| Subject: | Re: Javascript function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96092@lists.php.net to get a copy of this message | ||
"Morten Nielsen" <mosgaard2000@hotmail.com> wrote in message
news:20020504093344.25073.qmail@pb1.pair.com...
> Hi
> Is it possible to call a function in a javascriptpage from a PHP page?
> I have a function, which I use when the user press a button. I would like
to
> call this function just by typing the name. Is that possible?
Strictly speaking, no...
Indirectly, you can use PHP to write Javascript such that your
Javascript function will be called when the client loads the page.