Welcome Guest, Not a member yet? Register   Sign In
paging on popup
#2

(This post was last modified: 03-06-2016, 07:49 AM by Wouter60.)

If you don't want the page to be refreshed, you have 2 options.
1. Load all records in hidden divs, and make the one that is the current record, visible. You will need jQuery for that, but then again: what's a website without jQuery nowadays?
2. Use AJAX to refresh the contents of the div in your pop-up only. In that case, jQuery also makes life much easier, since it has a few powerful functions to make AJAX requests. From the AJAX function in your view, you call the controller/method that returns the new data. And jQuery takes care of updating the DOM (i.e. the HTML-document).
Reply


Messages In This Thread
paging on popup - by rchiu5hk - 03-05-2016, 05:45 PM
RE: paging on popup - by Wouter60 - 03-06-2016, 07:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB