Page 1 of 1

Calling a Javascript Ajax function using echo

Posted: Tue Nov 10, 2009 11:51 pm
by jishcem
I would like to call a Javascript function which performs some Ajax operations. And I would like to call it in serverside using PHP echo statement. Is that possible? If not is there any options?

Any help is very much appreciated.

Thank you, Ajeesh

Re: Calling a Javascript Ajax function using echo

Posted: Wed Nov 11, 2009 7:49 am
by sergio-pro
Hi

No, thats not possible.
Because javascript is executed on a client (browser), and php on a server.

There are a lot of options, but it depends on what exactly you want to do.