Re: RES: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Nitsan Bin-Nun
I was surprised it didnt came up before. As Tedd said, try to ajax-up your javascript On 20/05/2008, tedd <[EMAIL PROTECTED]> wrote: > > At 11:41 AM -0300 5/20/08, Thiago Pojda wrote: > >> That way you can conditionally send some JS to client, but running actual >> JS >> in PHP is not possible. >>

Re: RES: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread tedd
At 11:41 AM -0300 5/20/08, Thiago Pojda wrote: That way you can conditionally send some JS to client, but running actual JS in PHP is not possible. While running JS inside of PHP is at best confusing, it is possible to use both php and javascript together. For example: You can use php to ru

RES: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Thiago Pojda
] Enviada em: terça-feira, 20 de maio de 2008 11:41 Para: [EMAIL PROTECTED]; 'Shelley' Cc: 'PHP General list' Assunto: RES: [PHP] Help Call Javascript Methods Inside PHP What Richard meant was: /// FILE.PHP /// 100){ ?> alert('Bigger than 100');

RES: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Thiago Pojda
What Richard meant was: /// FILE.PHP /// 100){ ?> alert('Bigger than 100'); /// EOF /// That way you can conditionally send some JS to client, but running actual JS in PHP is not possible. (Not sure about Jscript [script runat=server] tho, I believe it only runs on IIS) Atencios