Tuesday, December 3, 2013

real sintax to call PHP function from Javascript

<?php 
function writeName()
{
echo "One Solution";
}
?>
onClick="javascript:document.write('<?php writeName();?>');"

No comments:

Post a Comment