This project is archived and is in readonly mode.
javascript helpers not working in rails3!
Reported by audiores | March 16th, 2010 @ 10:51 PM
not even the most simple javascript helpers work on my rails
test-app.
(current git master)
= link_to "name", nil, :onlick => "alert('Hello world!');"
this is maybe related to #4199 since there seem to be general javascript issues.
Comments and changes to this ticket
-
audiores March 16th, 2010 @ 10:52 PM
- Tag changed from javascript, link_to, rails to javascript, link_to, rails3
-
Denis Odorcic March 17th, 2010 @ 12:34 AM
- Tag changed from javascript, link_to, rails3 to invalid, javascript, link_to, rails3
I think this is invalid. As long as you use javascript_include_tag this works. Make sure you spell 'onclick' correctly.
-
José Valim March 27th, 2010 @ 08:58 AM
- State changed from new to invalid
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>