Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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 . '')">';
 
PREVIOUS NEXT
Tagged: #php #echo #call #javascript #function #parameters
ADD COMMENT
Topic
Name
7+2 =