资 源 简 介
PHP and JavaScript script that enables you to call PHP methods direct from JavaScript just by typing their names.
For example you can call PHP method that looks like this:
class MySimpleMath {
public function Addition($firstParam, $seccondParam) {
$sum = $firstParam+$seccondParam;
echo $sum;
}
}
...from JavaScript just with:
MySimpleMath.Addition(1,2);
And you will have as a result: "3"
So simple is in it?