Hi I am using Kaminari for pagination in my Rails3 application, however when I use the ajax command in my view <%= paginate @items, :remote=>true %> it places data-remote=”true” into the HTML but the browsers don’t do anything IE and Firefox both behave the same way. Any help?
Here is the output HTML of my javascripts:
<script src="/javascripts/jquery.js?1311949985" type="text/javascript"></script>
<script src="/javascripts/jquery_ujs.js?1311949985" type="text/javascript"></script>
<script src="/javascripts/jquery-ui.js?1309364376" type="text/javascript"></script>
<script src="/javascripts/jquery.flexselect.js?1312229948" type="text/javascript"></script>
<script src="/javascripts/jquery.min.js?1311949985" type="text/javascript"></script>
<script src="/javascripts/liquidmetal.js?1312229948" type="text/javascript"></script>
<script src="/javascripts/rails.js?1313595592" type="text/javascript"></script>
<script src="/javascripts/application.js?1312396308" type="text/javascript"></script>
I believe i did not have the HTML doctype declared, but the XHTML doctype and this was the root.