PDF document

How to Call a JavaScript Function from PHP? - STechies

How to call a javascript function from PHP, You can execute Javascript through PHP by calling javascript code/function as a string in PHP and send it to the client browser to execute.

Source: www.stechies.com