RE: [PHP] Calling Javascript-function from php-script ...

2002-03-20 Thread Kevin Stone
script. -Kevin -Original Message- From: Alexander Skwar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 4:27 PM To: Kevin Stone Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Calling Javascript-function from php-script ... »Kevin Stone« sagte am 2002-03-19 um 14:11:42 -0700 : Not entirely

Re: [PHP] Calling Javascript-function from php-script ...

2002-03-20 Thread Andrew Lopucki
To: Kevin Stone Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Calling Javascript-function from php-script ... »Kevin Stone« sagte am 2002-03-19 um 14:11:42 -0700 : Not entirely true. Javascript is directly linked to HTML and HTML is directly linked to PHP so you can have PHP talk to Javascript

RE: [PHP] Calling Javascript-function from php-script ...

2002-03-20 Thread Kevin Stone
] Subject: Re: [PHP] Calling Javascript-function from php-script ... I think the point here is that it be made clear to those who might get confused that the javascript (unless it's a server-side script) is running in a browser and as such there is no way for the server to 'make a call

RE: [PHP] Calling Javascript-function from php-script ...

2002-03-19 Thread Niklas Lampén
AFAK it's not possible since PHP is server-side and I guess your JavaScript is client-side. Niklas -Original Message- From: Marcel Besancon [mailto:[EMAIL PROTECTED]] Sent: 19. maaliskuuta 2002 14:05 To: [EMAIL PROTECTED] Subject: [PHP] Calling Javascript-function from php-script ...

Re: [PHP] Calling Javascript-function from php-script ...

2002-03-19 Thread scott furt
Short answer: no. Long answer: have the PHP script output javascript code to the browser. PHP = server-side Javascript = client-side Marcel Besancon wrote: Hi everybody, is there someone who can tell me how to call a javascript-function by a php-script. Thanks for each answer

Re: [PHP] Calling Javascript-function from php-script ...

2002-03-19 Thread Marcel Besancon
Hi, i know that one is server-side and the other is client-side. But what i 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

RE: [PHP] Calling Javascript-function from php-script ...

2002-03-19 Thread Niklas Lampén
To: [EMAIL PROTECTED] Subject: Re: [PHP] Calling Javascript-function from php-script ... Hi, i know that one is server-side and the other is client-side. But what i meant ist the following. I have a script with a form. By submitting this form and checking out some values php should call

Re: [PHP] Calling Javascript-function from php-script ...

2002-03-19 Thread scott furt
PHP cannot call a javascript function. but PHP can examine the incoming variables and then output Javascript to the browser to do the appropriate work. for example, calling $text.php?this=5 pops up an alert saying this=5 test.php ? print script\n. alert('this='+. $this .);\n. /script ?

Re: [PHP] Calling Javascript-function from php-script ...

2002-03-19 Thread Alexander Skwar
»Marcel Besancon« sagte am 2002-03-19 um 13:04:38 +0100 : Hi everybody, is there someone who can tell me how to call a javascript-function by a php-script. PHP creates HTML pages (mostly) which will be displayed by a client and/or receives send pages/requests from a client. There's no

Re: [PHP] Calling Javascript-function from php-script ...

2002-03-19 Thread Alexander Skwar
»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

RE: [PHP] Calling Javascript-function from php-script ...

2002-03-19 Thread Kevin Stone
and write it to the screen closing the loop. Pretty slick eh? -Kevin -Original Message- From: Alexander Skwar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 12:54 PM To: Marcel Besancon Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Calling Javascript-function from php-script

Re: [PHP] Calling Javascript-function from php-script ...

2002-03-19 Thread Alexander Skwar
»Kevin Stone« sagte am 2002-03-19 um 14:11:42 -0700 : Not entirely true. Javascript is directly linked to HTML and HTML is directly linked to PHP so you can have PHP talk to Javascript through HTML. I still don't agree. You can of course create JavaScripts dynamically in PHP. However, PHP