hi,
I have the following problem:
product.controller.rb
class Product Controller
def show
.....
end
end
show.rhtml.rb
.
.
<% Product.find (: all). each do | product|
<% = Check_box "product", "name",: checked =>
false,: onchange => "#
(remote_function (: url => (: controller => ''product'',:
action => ''show'') ))
"%> <br>
<% End%>
how can i get all the selected checkboxes in the show-action(controller)?
Thnaks im advance
--
View this message in context:
http://old.nabble.com/selected-checkbox--in-Controller%21%21%21%21-tp26421458p26421458.html
Sent from the RubyOnRails Users mailing list archive at Nabble.com.
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=.