libing
0
Q:

php echo call javascript function with parameters

// Most effective way to call a javascript function with parameter of PHP variable
echo '<input type="button" value="Button" onclick="return openEditor(\'' . $path_image . '\')">';
0

New to Communities?

Join the community