[PHP] passing PhP parameter to JavaScript function

2002-05-02 Thread ZILBER,LEONID (HP-NewJersey,ex1)
Hi guys, From PhP, I want to call JavaScript and pass argument to it For some reason when I do the following: onClick=\return lastCheck($maxa);\ and printout maxa in JavaScript, it says maxa is undefined maxa is defined in PhP form section. User enters value into a form which name is

RE: [PHP] passing PhP parameter to JavaScript function

2002-05-02 Thread SHEETS,JASON (Non-HP-Boise,ex1)
-NewJersey,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 10:14 AM To: '[EMAIL PROTECTED]' Subject: [PHP] passing PhP parameter to JavaScript function Hi guys, From PhP, I want to call JavaScript and pass argument to it For some reason when I do the following: onClick=\return lastCheck