除了 will_paginate ajax_pagination -pdate 复选框仅在第一页上工作。_page.html.erb:
<%= ajax_links :section_id => "page" do %>
    <%= will_paginate @jquestions %>
<% end %>
<%= ajax_loadzone do %>
    <% @jquestions.each do |jquestion| %>
    <h2><%== (Dquestion.find(jquestion.dquestion_id)).question_text %> </h2> </br>
        <%= render (Janswer.where(jquestion_id: jquestion.id)) %>
    </br>
    <% end %>
<% end %>
janswers.js.coffee:
jQuery.fn.submitOnCheck = ->
    @find('input[type=checkbox]').click ->
        $(this).parent('form').submit()
        this
jQuery ->
    $('.edit_janswer').submitOnCheck()
和形式:
<%= form_for(janswer, remote: true) do |f| %>
    <%= f.check_box :truanswer %> <%== (Danswer.find(janswer.danswer_id)).answer_text  %>
<% end %>
如何决定这个问题?