Ruby on Rails Tuesday, October 7, 2014

On Tue, Oct 7, 2014 at 6:24 AM, Alessandra Padovam <lists@ruby-forum.com> wrote:

> I am displaying a table with data coming from an xml so I'm stepping
> through the array and assembling the elements of each row. Each line has
> a check_box_tag to select the elements you wish to delete.
> Now what I need is to extract each selected two elements, that would be
> the identification code and date.

> My main doubt now is how to extract these two columns by clicking
> on check_box_tag.

Maybe I'm misunderstanding your use case, but why not just make
the checkbox tag value = the data values you need to start with?

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yAXSKJh83jcZsV2foq7Zi0faCwAYfRmaLs3yqzKD7q-Rg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment