ronalchn / ajax_pagination

Handles AJAX site navigation, loads content into ajax_section containers using AJAX links.
Other
38 stars 13 forks source link

elaborate example for AJAXed will_paginate #4

Open casperbear opened 11 years ago

casperbear commented 11 years ago

Hi!

I'm trying to add some controls outside ajax_section, like

<%= check_box "checkBox1", "checked" %> <%= ajax_section :id => "page", :render => "page" %>

But if I check checkBox1 and change page, checkBox1 returns to unchecked state. As I understand nothing outside ajax_section is supposed to change after AJAX call. Or should I add some code around checkBox1 ?

Currently using ajax_pagination 0.6.3, jquery-historyjs 0.2.3, will_paginate 3.0.3, rails 3.2.11