I had a line of code just like this:
<a onClick="someFunc();">Click</a>
It worked fine. But I tried to output it in PHP as such:
echo "<h3>" . $zone . " <a href='javascript:$('#zoneNotifUnsub').submit()'>Unsubscribe</a></h3>";
And it doesn't work. Using onClick or href makes no difference, the result is that the code doesn't work. It's clearly some issue of how PHP outputs <a> elements. Any help?