Answers for "call jquery function in php code"

PHP
-2

how to call js function from php

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

call jquery function in php code

<?php if($_POST["action"] == "memberadd"){?>
	pop_up_box();   // jquery function
<?php } ?>
Posted by: Guest on June-09-2021

Code answers related to "call jquery function in php code"

Browse Popular Code Answers by Language