window.close

Results 1 to 2 of 2

Thread: window.close

  1. #1
    Join Date
    Dec 1969
    Posts
    4

    Default window.close

    I have a need to open a new window and have the old window(default.asp) close. I tried the following script in the new window but no luck. Any help would be appreciated.<BR><BR><BR>&#060;SCRIPT For=document EVENT=onload LANGUAGE="JavaScript"&#062;<BR>window.close "http://oemcomputer/wwwroot/default.asp");<BR><BR>&#060;/script&#062;

  2. #2
    Join Date
    Dec 1969
    Posts
    73

    Default RE: window.close

    I think you missing "(" ? otherwise try to run the code with by just window.close() or <BR><BR>try window.close("http://oemcomputer/wwwroot/default.asp");

Posting Permissions

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