Re: Calling Javascript-function from php-script ...
| From: | Alexander Skwar | Date: | Tue, 19 Mar 2002 19:55:19 +0000 |
| Subject: | Re: Calling Javascript-function from php-script ... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-89184@lists.php.net to get a copy of this message | ||
»Marcel Besancon« sagte am 2002-03-19 um 13:19:49 +0100 :
> meant ist the following. I have a script with a form. By submitting this
> form and checking out some values php should call a javascript-function
> (such as an alert). You see the php-script shall call the
Bad idea. On the one hand, PHP is not calling JS functions. The
browser might interpret the strings PHP sends as JavaScript and act
thusly. On the other hand, users who disabled JS will not see your JS
alert.
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.iso-top.de | Jabber:
askwar@charente.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 2 days 8 hours 48 minutes