Page 1 of 1

Is it possible to call javascript function from php

Posted: Mon Sep 26, 2011 5:06 pm
by elim
Suppose server php script got some data from client and, is it possible call a javascript function,
pass some value to the function and assign the javascript return to a php variable?

Thanks

Re: Is it possible to call javascript function from php

Posted: Mon Sep 26, 2011 6:16 pm
by Christopher
If the Javascript polls, or perhaps something like Comet.

http://en.wikipedia.org/wiki/Comet_%28programming%29