Results 1 to 2 of 2

Thread: JS and a new URL

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    JS and a new URL

    I have tried to use this function when I wish to redirect to an URL in a new window. It opens a new window, but somehow an error occurs and the content is not displayed.
    Code:
    function juels()
    {
    	document.forside.target = "blank.htm";
    	document.forside.action = "http://www.vbforums.com";
    	document.forside.submit();
    }

  2. #2
    Lively Member
    Join Date
    Dec 2002
    Location
    southwest pennsylvania
    Posts
    65
    the code for a new window is much simpler!

    window.open("http://www.vbforums.com");
    if you choose not to decide you still have made a choice!

    RUSH rocks!

Posting Permissions

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



Click Here to Expand Forum to Full Width