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
You missed what I meant. Suppose there is a piece of code like: function hello() { document.write "hello"; } I want to call that method inside PHP: Hope you get it. On Tue, May 20, 2008 at 5:40 PM, Chetan Rane <[EMAIL PROTECTED]> wrote: > Yea > > You can use the script tag in PHP > > I