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
elley Cc: PHP General list Assunto: Re: [PHP] Help Call Javascript Methods Inside PHP Shelley wrote: > Hi all, > > How can I call a javascript method inside PHP? > That is: > Suppose there is a js file: http://someurl/somejs.js > There are some js methods in that js file, > I want to

Re: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Shiplu
On 5/20/08, Shelley <[EMAIL PROTECTED]> wrote: > > Hi all, > > How can I call a javascript method inside PHP? > That is: > Suppose there is a js file: http://someurl/somejs.js > There are some js methods in that js file, > I want to include that js into PHP and call its methods. > > Is it possible?

Re: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Richard Heyes
Shelley wrote: Hi all, How can I call a javascript method inside PHP? That is: Suppose there is a js file: http://someurl/somejs.js There are some js methods in that js file, I want to include that js into PHP and call its methods. Is it possible? No. What you can do though is use PHP to se

Re: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Shelley
Yea, of course. On Tue, May 20, 2008 at 5:44 PM, jose javier parra sanchez < [EMAIL PROTECTED]> wrote: > Do you know that php runs on the server and that javascript runs on the > client ? > > 2008/5/20 Shelley <[EMAIL PROTECTED]>: > > Hi all, > > > > How can I call a javascript method inside PHP?

Re: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Shelley
- > From: Shelley [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 20, 2008 3:06 PM > To: PHP General list > Subject: [PHP] Help Call Javascript Methods Inside PHP > > Hi all, > > How can I call a javascript method inside PHP? > That is: > Suppose there is a js file: http

[PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Shelley
Hi all, How can I call a javascript method inside PHP? That is: Suppose there is a js file: http://someurl/somejs.js There are some js methods in that js file, I want to include that js into PHP and call its methods. Is it possible? If it is, how? Thank you very much. -- Regards, Shelley