I have an exsiting web page with 10,000+ lines of code. We are currently in the middle of re-writting in .net, but for the meantime I need to add some functionality to the existing app within the vbscript (client side).
Here's what I need:
1. User is on abc.html and clicks a link which executes 100 lines of vbscript
2. In the middle of that VBscript code, I need to create a pop up - xyz.html (which is the easy part), have the user make a selection from a drop down list and pass that back to a text box on the parent screen (another easy part) but I need to pause any further execution until that pop-up is closed, or a selection is made (this is where I am stumped).
I do need to run this on the client, so I am unable to use any server-side code - the page cannot refresh.
So far, I've used the following to open the new page:
Sub openWindow(url)
set ie = CreateObject("internetExplorer.application")
ie.width = 450
ie.height = 400
ie.toolbar = false
ie.statusbar = false
ie.navigate url
ie.Visible = True
End Sub
I'm sure I'm not the first to have needed to do something like this, any assistance would be of great help.
Thanks
Here's what I need:
1. User is on abc.html and clicks a link which executes 100 lines of vbscript
2. In the middle of that VBscript code, I need to create a pop up - xyz.html (which is the easy part), have the user make a selection from a drop down list and pass that back to a text box on the parent screen (another easy part) but I need to pause any further execution until that pop-up is closed, or a selection is made (this is where I am stumped).
I do need to run this on the client, so I am unable to use any server-side code - the page cannot refresh.
So far, I've used the following to open the new page:
Sub openWindow(url)
set ie = CreateObject("internetExplorer.application")
ie.width = 450
ie.height = 400
ie.toolbar = false
ie.statusbar = false
ie.navigate url
ie.Visible = True
End Sub
I'm sure I'm not the first to have needed to do something like this, any assistance would be of great help.
Thanks