Jolten
06-25-2005, 09:05 AM
Hi all,
I've got a custom upload page that works great. However, my users tend to get impatient at times and refresh or click submit again causing errors most of the time. Currently I've just added a javascript onsubmit alert to ask them to wait. What I'd like to do is open a popup with an animation in it while the upload is in progress then close the pop up when the upload is completed (the upload page already redirects upon completion of upload with a simple javascript location at the end of the php script.)
I do not want to track upload progress as it works on it, just display an animation popup until the upload is complete. I can create the popup with no problem but can someone explain how I can close the popup upon upload completion?
I thought about using onBlur() for the popup but I don't know how to force the blur upon upload completion either.
Thanks
I've got a custom upload page that works great. However, my users tend to get impatient at times and refresh or click submit again causing errors most of the time. Currently I've just added a javascript onsubmit alert to ask them to wait. What I'd like to do is open a popup with an animation in it while the upload is in progress then close the pop up when the upload is completed (the upload page already redirects upon completion of upload with a simple javascript location at the end of the php script.)
I do not want to track upload progress as it works on it, just display an animation popup until the upload is complete. I can create the popup with no problem but can someone explain how I can close the popup upon upload completion?
I thought about using onBlur() for the popup but I don't know how to force the blur upon upload completion either.
Thanks