Hello there, I''m trying to do something like this: <% @str = date_select ''bar'' ''rrp''%> <a href="#" onclick="new Insertion.After(''foo'',''<%=@str%>''); return false;">+</a> This doesn''t really work because of nested quotes. I''ve tried parsing @str to use HTML safe characters for the quotes, but that doesn''t seem to work either. I would really appreciate input from anyone who has any idea of how to solve this. Thanks! -r -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---