From: "Jesús Gabriel y Galán" Date: 2013-08-05T00:08:43+09:00 Subject: Re: Capture HTML table data, pass to Ruby, pass back and display result in HTML text field On Sun, Aug 4, 2013 at 4:31 PM, Hubert Wagner wrote: > Hello Jesus : > Thank you for your remarks. > > -I don't know what RubyFrontier is, but if I understand correctly, you > -have a web application that generates an HTML table with data, and you > -want the user to interact with the data, have Ruby calculate some > -things and have the HTML updated with the result of the calculation. > > Yes. Exactly. > > I was assuming by using Ruby and ERB, I could interface with the HTML > Table directly. > > Are you implying, by introducing JS, Ajex and DOM this is not possible? Well, the Ruby web app executes in the server, while the user interaction with the HTML happens in the browser. You need some way to communicate between the browser and the server, if you want the server side to do the calculations based on the user interaction with the table. Jesus.