![]() |
AJAX Pagination - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31) +--- Thread: AJAX Pagination (/showthread.php?tid=77048) |
AJAX Pagination - hobbyci - 07-15-2020 Hello, I am using CI 4 since a couple of weeks and play around to learn the basics. I wrote a guestbook and I fetch the entries via AJAX and this works wonderful. Now what I want to do is to implement a pagination also via AJAX. PHP Code: public function create() PHP Code: public function fetch() My Javascript looks like this: Code: function get_comment_html(data) I have tried a couple of things but Code: ($.parseJSON(data)).pager Can someone help me? ![]() |