Hi !
I''m a newbie to rails. I''m trying to add javascript tags to my
view
the following way :
@events.each do |e|
[...]
%(javascript_tag ''new
Popup(''event_popup_#{e.id}'',''event_link_#{e.id}'')'')
[...]
end
This code is not working unfortunately, and the js tags are missing in
my html source code.
Can somebody help me with this issue. I guess I didn''t use the correct
syntax.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---