• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 222
  • Last Modified:

Getting the web browser to display 'BACK' n pages.

Dear Sir/Madam,
    Our web presence allows users to enter search terms and
then browse the results of this query of our database.
All pages come up in the same screen of the web browser.
The user may examine say 'n' pages of results before deciding
to refine the search. Currently to do this they would have to hit the
'back' button 'n' times to get back to the search page that held their
initial query. What I need is a button on our browse screen that
just automaticly inscructs the browser to display the 'n'th page
back from the current page. Is this possible?
Yours Allan.  
1 Solution
You can use this:

<a href="javascript:history.go(-2)">Go back 2 pages</a>

or you can read this article about how to page the queries



PS: Tha URL is an ASP example.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now