preventing onclick page jumps

javascript

Solution

I always use

<a href="javascript:void(0)" onclick="blahblah">

Problem

what is the best way to stop my onclick links from causing the page to jump to the top. ``` <a name="point1"> <a href="#point1" onclick="blahblah"> <a href="javascript:" onclick="blahblah"> <a href="javascript:null;" onclick="blahblah"> ``` Or something else?

Original source