|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
javascript open a new window and wait for asp script to run
Here's what I need to do. from Javascript I need to open another window have the user fill out a form and then process the form, close the window and send info to a variable on the parent form. The parent form must wait for the info to process before it continue running the script.
I have the javascript to open the new form but the javascript doesn't wait to continue. for example my code is imageWin = window.open('getimage.asp?myfilename=<%= myfilename %>'); ' here need to wait for getimage.asp to be processed and get back the name of file that was chosen. Any ideas? |
|
#2
|
|||
|
|||
|
You should be able to access any element in the parent form from the new window. If you are trying to update a hidden variable that should work too.
If you wanted to submit the form after the new window closes you could issue: parent.formname.submit(); This should give you a good headstart.
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > javascript open a new window and wait for asp script to run |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|