HTML: Link with OnClick and blank Href
October 30th, 2008 by jeremychone<a onclick=”myFuction(event);return false;” href=”">Some Text</a>
The return false; prevents the browser to follow the href link. Note that have the method return false does not work.