[jQuery] Binding a Click Event to Anchor Tag

[jQuery] Binding a Click Event to Anchor Tag


I used to be able to do this:
$("a").click(function(){
alert("test");
return false;
});
<a href="#">test</a>
It no longer works in Firefox. I read some other posts that seem to be
discussing the same thing, but nothing definitive. Bind does not work
either. However, if I change click to mouseover, then it works.
Suggestions?
Thanks.
Brian