Hi,
I want to add pagination to my search result. But by default, laravel pagination refresh the page each time user navigate through pages and I don't want it. How to add pagination to the page that doesn't refresh the page?
Thanks for your reply.
I check the link and the result is not what I'm looking for.
I use angularjs for my front-end and my form is search form. I can't post search result via json file (at least I don't know how to do this).
If I can send my search result via json everything will be fine, but I don't know how to do this. I have 2 inputs in my search form and I have to send their value to the search result page.
It's not only a page refresh, is also not returning a full list of data, only the paginated amount of rows.
@Salomoni stated you either need to Ajax the next call and refresh the part of the page or dump all the rows into your JavaScript and paginate via JavaScript