The “onclick event-handler return false” bug as described in this article does not show up in Internet Explorer 7 when ones uses the DOM scripting library jquery.
If we have anchor elements on a web page and we wish to open in a new window (always the same one) any document these elements link to, then we write the following jquery code :
$(document).ready(function() { $('a').click(function() { window.open($(this).attr('href'), 'new_window'); return false; }); });
Just like we expect it, the return false statement does cancel the default action of the browser for the anchor element.