Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

javascript helpers not working in rails3!

#4201

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 javascript TypeError with rails3 project (rails.js, line 2) since there seem to be general javascript issues.

Reported by audiores · March 16th, 2010 @ 10:51 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. audiores
    audiores
    • Tag changed from javascript, link_to, rails to javascript, link_to, rails3

    March 16th, 2010 @ 10:52 PM

  2. Denis Odorcic
    Denis Odorcic
    • 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.

    March 17th, 2010 @ 12:34 AM

  3. José Valim
    José Valim
    • State changed from new to invalid

    March 27th, 2010 @ 08:58 AM