Re: [PHP] Passing a PHP variable to javascript

2002-08-19 Thread Justin French
The trick is that javascript has to be triggered somehow -- an onLoad, onClick, onChange, onMouseOver, etc etc. When/how do you want to trigger this? Justin French on 19/08/02 10:54 PM, Michael ([EMAIL PROTECTED]) wrote: > Hello everyone, > > This may seem a newbie question... > > I have

Re: [PHP] Passing a PHP variable to javascript

2002-08-19 Thread Scott Houseman
ot; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 19, 2002 2:54 PM Subject: [PHP] Passing a PHP variable to javascript > Hello everyone, > > This may seem a newbie question... > > I have a PHP variable containing the text of the alert I want to display >

Re: [PHP] Passing a PHP variable to javascript

2002-08-19 Thread John Wards
alert() - Original Message - From: "Michael" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 19, 2002 1:54 PM Subject: [PHP] Passing a PHP variable to javascript > Hello everyone, > > This may seem a newbie question... > > I have

[PHP] Passing a PHP variable to javascript

2002-08-19 Thread Michael
Hello everyone, This may seem a newbie question... I have a PHP variable containing the text of the alert I want to display ($text) and I want to have it displayed in a javascript alert box (something like alert($text) ). I couldn't find out how to sort this out... Regards, Michael __