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 2 of 2

Thread: garbage page

  1. #1
    New Coder
    Join Date
    Mar 2003
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    garbage page

    this code displays 2 ms word documents in a browser window. the first doc is fine, but when i hit the browser back button to look at the first, it is garbage.

    <!--
    function submitforms()
    {
    var d1 = "Test1.doc";
    var d2 = "Test2.doc";
    myWindow = window.open(d1);
    myWindow.location="http://intranet/Test2.doc";
    }
    // -->
    </script>

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Location
    Louisiana
    Posts
    576
    Thanks
    0
    Thanked 0 Times in 0 Posts
    try and open it like this

    window.open("document.doc","doc", "");


  •  

    Posting Permissions

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