Link_to_function onmousedown

Hi,

Is there some way to produce an anchor that looks like the following
using helpers, or should I just code it in the rhtml like this?

Thanks,
Brad

Bradley M.

link_to_function(“click me”,“foo();return false”)

Sorry, got that wrong.
i guess it could be:

link_to_function(“click”,"",{:onmousedown=>“foo()”})