Did you know, that in Firefox 2, creating a link like:
will actually open up the Firefox error console?
Notice the semicolon in that first line. If you leave out that semicolon (or a void(0)), then your users will enjoy looking at the error console instead of your site – yikes!
You can stop this from happening if you go to Web Developer’s Options
drop-down menu and then choose Options. Then choose Miscellaneous tab
and untick all the boxes for Error Console.
change your a href with onclick
… in other words, just add ‘return false;’