How to call a JavaScript function from PHP?
The followi
Per now (February 2012) there's a new feature for this. Check here
Code sample (taken from the web):
executeString($JS, 'basic.js')); } catch (V8JsException $e) { var_dump($e); } ?>