Hi all,  I am working on a project and I got excited to get pagination
and ajax working.  I am using rails 3.1.  What I have is a form for
creating a client, and inside that form i have a table that I have
implemented ajax, search, sort, and pagination following a railscasts
using will_paginate.  The tables first column is a checkbox_tag for an
HABTM relationship.  This is working great...until I really got
playing with it and I noticed that if you go to a new page or
something the value of the checked box is lost!  So if I check a box
on page 1, then go to page 2 and hit create, only the item selected on
page 2 is saved.

Anyone have any info on how I can use jquery or something to keep the
checkboxes that are checked across multiple pages??  this is driving
me crazy.

-- 
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.

Reply via email to