href="javascript:void(0)" vs. advanced disabling of links
<p>I use</p>

<pre><code>href="javascript:void(0)"
</code></pre>

<p>to disable the href property and then use onlclick to give functionality to my anchor elements.  How can I do this programatically.</p>
