Answers for "php execute javascript"

PHP
2

php execute javascript

<?php
 if(your condition){
     echo "<script> window.onload = function() {
     yourJavascriptFunction(param1, param2);
 }; </script>";
?>
Posted by: Guest on March-20-2020

Browse Popular Code Answers by Language