Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Processing Page

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a form that passes a lot of fields to a subsequent page (about 80
values). On many connections, this process may take 10-20 seconds. I would
like a sized popup that appears when the user presses submit on the form
with some message like "please wait while we process your page". When its
complete, I would like the popup to close and the primary window to load the
next page.

Any help or ideas? Thanks.
 
Use an onSubmit function to open the popup, then return true so the submit will go ahead. The tricky part is closing the popup when the new page loads. Maybe someone else can give a hint as to how to do that.
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
I would suggest giving your sized popup a name. In the new page that loads, use an onLoad event in the body tag to:

<script language=&quot;javascript&quot;>

function closePopUp(){

window.close(&quot;windowname&quot;);

}

</script>


onLoad = &quot;closePopUp()&quot;

HOPE THIS HELPS...

King
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top