in one of my partial I have : <div id="horizontal_carousel"> ..... <script> new UI.Carousel("horizontal_carousel"); </script> but if I need to specify multi carousels, I need to dynamically modify the name <div id="<%= product_carousel_name(taxon) %>" > .. so I would like to have : <script> new UI.Carousel("<%= product_carousel_name(taxon) %>"); </script> but I don''t know how to get it ? any suggestion ? thanks erwin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---