HI i tring to call a js function in PHP file using echo ""; and it's not working, if I call it without the echo it's work, what am I missing here ?
this way it's is work:
<a href='#' onClick='delfrmvbar("dlsyg","<?php echo $sgId;?>","<?php echo $sgId;?>")'>X</a> </span>
and this way is not (I tried without the - ' sign)
echo "<a href='#' onClick='delfrmvbar('dlsyg','$sgId','$sgId')'>X</a> </span>";
delfrmvbarfunction?