Jquery: stopping navigation into link when it has javascript embeded
<p>When I am dealing with links with Javascript embeded,</p>

<pre><code>&lt;a onclick="return tnNav2Evt391(this,'');" href="#" class=""&gt;link&lt;/a&gt;
</code></pre>

<p>I want to stop the execution of Javascript and highlight it.</p>

<p>With normal links without Javascript embeded, I am able to stop default navigation:</p>

<pre><code>function processAction(e){  
    var clicked = e.target;
    switch(clicked.tagName)
    {
        case "A":       
            return false; // prevent the default action, e.g., following a link
        break;
        }
}
</code></pre>
