PDF document

How to call a JavaScript function from PHP? - Stack Overflow

We are virtually invoking a PHP function from Javascript code! That over-simplified example was just to whet the appetite, a better explanation is on the Xajax site, have fun!

Source: stackoverflow.com