It's sufficient to simply return false directly in the onclick attribute. So just have this:
<a href="http://www.example.com" onclick="funcName(); return false;">Link Text</a>
For whatever reason, returning false from within funcName() doesn't work.
More information about formatting options
It's sufficient to simply
It's sufficient to simply return false directly in the onclick attribute. So just have this:
<a href="http://www.example.com" onclick="funcName(); return false;">Link Text</a>For whatever reason, returning false from within funcName() doesn't work.