OpenWindow / CloseWindow
I am trying to make a window pop-up when a form is submitted (uploading a file) and close when the new page is loaded. How would I make that happen? When I try to open a window on one page and close it on another it never works. Is there a way to make this happen?
AndyB posted this at 02:53 — 21st July 2001.
They have: 344 posts
Joined: Aug 1999
I don't think I understand the question ....
I fill out a form and click submit. A new window pops up (at the same time as a 'file' is being uploaded), and then closes when a new page is loaded. New page?? From where??
Perhaps a little more description will help someone suggest a solution to the problem.
artsapimp posted this at 20:28 — 21st July 2001.
They have: 330 posts
Joined: Apr 2000
There are 3 pages included here.
1. ChooseFile.asp
2. FileUploaded.asp
3. PopUp.asp
You choose a file from ChooseFile.asp and click upload. While it's uploading PopUp.asp shows up with a nice "Please wait while it's uploading" message. When it's done uploading it then closes PopUp.asp and ChooseFile.asp changes to FileUploaded.asp.
I hope this helps.
I have it working now but I think there should be a better way.
Free Math Test
Fun Math Games
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.