On Mar 15, 10:34 am, pkh <[email protected]> wrote:
> var el = document.getElementById("<%=
> escape_javascript(@result.result_dom_id) =>");
> el.setAttribute('class', 'correct-result');
You've closed that erb tag with => rather than %>
Fred
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.