How to call a JavaScript function from PHP?
The followi
PHP runs in the server. JavaScript runs in the client. So php can't call a JavaScript function.