Back Button

Results 1 to 2 of 2

Thread: Back Button

  1. #1
    Join Date
    Dec 1969

    Default Back Button

    How do I rewire the Back Button to go to a different page rather than the previous page viewed?

  2. #2
    Join Date
    Dec 1969

    Default RE: Back Button

    You can&#039t rewire the back button of the browser, but you can simulate doing so.<BR><BR>At the top of the page that they&#039d be going back to, put in a bit of javascript:<BR><BR>if (history.previous == "pagename") location.href = newpage<BR><BR>This is only good if you want to check for them coming from specific pages (ie, they just submitted a form).<BR><BR>Hope this helps.<BR><BR>Peter<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts