Re: calling javascript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Garth Hapgood - Strickland wrote:
I want to call a javascript function:

function error_popup() { newwin = window.open("error_popup.php","sss","height=470,width=450") }

from within my php code. How do I go about called this function?

Garth

You can't call JavaScript functions from within PHP. You can output the JavaScript function to the browser.


PHP == Server Side
JavaScript == Client Side

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@xxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux