Forum: Ruby on Rails javascript and rails?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Lalala L. (Guest)
on 2007-03-31 10:39
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
This topic is locked and can not be replied to.