Monday, March 20, 2017

Ajax call bring the user back to same page

I have a search page done using Laravel. On that page there is a button which makes an AJAX call to another url. That page is paginated, so the user can be on the first, second or last page.

My problem is, How can I bring the user back to the same page and point that he was.

Or, Is there a way to just call a method to perform some actions on the database?



via dante

Advertisement