[#409331] Capture HTML table data, pass to Ruby, pass back and display result in HTML text field — Hubert Wagner <lists@...>

Hello :

11 messages 2013/08/04

[#409336] Rakefile Error - Please Help — "Jennifer T." <lists@...>

Hi,

13 messages 2013/08/04
[#409341] Re: Rakefile Error - Please Help — Hassan Schroeder <hassan.schroeder@...> 2013/08/04

On Sun, Aug 4, 2013 at 7:41 AM, Jennifer T. <lists@ruby-forum.com> wrote:

Re: Capture HTML table data, pass to Ruby, pass back and display result in HTML text field

From: Jes俍 Gabriel y Gal疣 <jgabrielygalan@...>
Date: 2013-08-04 15:08:43 UTC
List: ruby-talk #409337
On Sun, Aug 4, 2013 at 4:31 PM, Hubert Wagner <lists@ruby-forum.com> 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.

In This Thread