Calling a Javascript Ajax function using echo

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
jishcem
Forum Newbie
Posts: 12
Joined: Tue Nov 10, 2009 11:48 pm

Calling a Javascript Ajax function using echo

Post 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
User avatar
sergio-pro
Forum Commoner
Posts: 88
Joined: Sat Dec 27, 2008 12:26 pm

Re: Calling a Javascript Ajax function using echo

Post 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.
Post Reply