Dear all,
I have a javascript function pop_item
I have to call this from PHP, so my PHP code is the following:
echo '<a href="javascript:pop_item('.$_code.',1)">Link </a>';
It provides no error, but pop_item
is not functioning,
The HTML output for the above is:
<a href="javascript:pop_item('ABC',1)">Link </a>