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.
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?
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()”})
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs