Hi everyone I''m trying to learn ruby on rails and have some questions to ask about combining rails and javascript Right now I''m in a situation where I''m have my ror app and another javasciprt library that I''m using. In my rhtml file I embedded a javascript method using <script> method_x(int) </script> and have a button y that will call method_x() when onClick What I like to see is when 1 user click button y, the same event will happen to everybody who is viewing the page. Thank you for reply -- 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?hl=en -~----------~----~----~----~------~----~------~--~---