Is it possible to stop redirection to another link page?
<p>I have already searched a lot, but it seems this can't work.</p>

<p>At the program, there is a jquery ready function to make the click event redirect.</p>

<pre><code>if($.isFunction(link.attr('onclick'))){link.click();return false;}
else{document.location.href=link.attr('href');}
</code></pre>

<p>so in the hyperlink, there are 2 events can make this page redirect to new page, one is <code>&lt;a href="aaa"&gt;Link1&lt;/a&gt;</code> the other is onclick event (sorry I am still confused which executes first).</p>

<p>Unfortunately, I can't delete the jquery code..so I can only append new code.</p>

<p>I want to open anew window instead of redirecting, but how can I stop redirecting the action?</p>
