Re: how to call rails method from javascript method.

Manish Nautiyal
Tue, 07 Sep 2010 09:48:02 -0000

radhames brito wrote:
> read on link_to_remote
>
>
> and please be more specific

I am more specific now.

There is one swf file. When I click on that swf file it will return
user_id.
And below that swf file I have to show detail of the specific users. The
detail will come from database. Now the problem is that there is small
javascript function which will give me the user id. So from that
javascript function I wanna call rails method which will fetch data from
database and show it where I want.