Ask A Question

Notifications

You’re not receiving notifications from this thread.

Browser Back button click.

Rahul Kumar Srivastava asked in Javascript

I am using pagination and suppose I click on pagination count 3.
It opens the table afterwards I any one link.
After this I want to get back to same 3rd page so I clicked on browser back button, so inspite of sending me back to page 3, browser send me back to page 1.
Anyone have any idea??

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 76,990+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.