Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] window closing


  • From: javascript@xxxxxxxxxx (sebastian)
  • Subject: [Javascript] window closing
  • Date: Wed, 30 Oct 2002 10:50:41 +0100

Hi.

On my page I'm using JavaScript to open a new window (let's say win1) just
before I submit a page.

win1=window.open ....
document.xxx.submit()

How to close this window when the user actualy navigates to the next page.

I tried to use win1.close() on onUnload ewent but because the two statements
are not in the same function en error occur ( win1 is not an object...)

I'm using this page to upload a file to the server using a Dundas upload
component and I want a message to be displayed (new window) while a file is
uploading.

Thanks, Sebastian