Results 1 to 2 of 2

Thread: back-button that works

  1. #1
    Join Date
    Feb 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default back-button that works

    I have a page with a contact form. I filled out the form and clicked submit. Then the form submitted and redisplayed the page. Then I clicked the javascript back-button. The form re-submitted but I expected to go back to the search results. Does anyone know of a way to edit the Javascript history to go back to the right page instead of resubmitting the form?

  2. #2
    Join Date
    Feb 2006
    Posts
    13
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    To go back to the page before you submitted the form:
    Code:
    javascript:history.go(-2)

Bookmarks

Posting Permissions

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