link_to syntax with rails3 (link_to_remote) and basic javascript not working in a rails3 app?
- by z3cko
i am wondering if the basic link_to syntax is completely broken in current rails3 master or if i am doing some wrong syntax here.
= link_to "name", nil, :onlick => "alert('Hello world!');"
should actually produce an alert on click. very simple. does not work on my rails3 project! (also no error output!) any ideas?
for the general link_to…