Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2003
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem with history back button

    hello all ...

    I have one small problem with history/back button.
    I use this function on the button, to open new form in same window.

    function NEW()
    {
    var url = location.replace("link");
    }

    Here is the problem. it replace the existing form with new one, so I cant to go back to the first form. This is because I use "location.replace".

    Is there any way to open new form in same window & so I can still reach the first form??

    thanx in advance
    maxx

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    location.href = "http...

  • #3
    New Coder
    Join Date
    Jan 2003
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it's the same as with location.replace, history back is stil not working as I want ...

    maxx


  •  

    Posting Permissions

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