For some reason, I can't get this to work properly:

Code JavaScript:
<a href="#" onclick="foo('bar'); return false;">FOO</a>

What am I doing wrong here? I simply don't want the link to be followed. I just want to call foo()...