The problem you have is that Kaminari requires the "scope" in order to correctly ascertain the next page from your current page:
Since you are submitting to the javascript, you will need to provide this scope to this method to make it work. In your controller in your create method you will need to have the same code to query the object that you want paginated on and then let Kaminari do the rest.
@users = User.order(:name).page params[:page]
You will need to ensure that the form also sends along the params[:page]
Then you can do:
<% if @result && !@users.last_page? %>
<script type="text/javascript">
window.location.href="<%= params.merge(param_name => (@users.current_page + 1)) %>"
</script>
<% end %>