Use jQuery. http://api.jquery.com/jQuery.ajax/
You'll need to provide a route, and in the server side, call the ruby script in the controller's action which receives the route. On Fri, Aug 12, 2011 at 12:05 PM, Amit Bobade <[email protected]> wrote: > Dear all, > > I need your help. Could someone tell me - how to call ruby script using > AJAX? > I want to call ruby script from my HTML code using AJAX. Could you suggest > me the way to do so? > > -- > Thanks and Regards, > Amit > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

