Bill Crawley
November 26th, 2003, 04:44 AM
Hi All,
I have the following VBScript in the Head section:
dim MyWindow
dim MyWindowBody
set MyWindow = window.createPopup
set MyWindowBody = MyWindow.Document.Body
MyWindowBody.style.backgroundcolor = "lightyellow"
MyWindowBody.style.border = "solid black 1px"
MyWindowBody.innerHTML = "<Input type=Radio name=cAgent value=""0"" checked>Current Agent<Input type=Radio name=cAgent value=""1"">All Agents"
MyWindow.show(100,100,180,25,MyWindowBody.body)
I have 3 Questions:
1. I receive a jScript runtime error exception was not handled??? (this is VBScript)
2. How do I return the selected value to the main form when the popup is closed.
3. How do I close the popup to return the values.
Thanks
I have the following VBScript in the Head section:
dim MyWindow
dim MyWindowBody
set MyWindow = window.createPopup
set MyWindowBody = MyWindow.Document.Body
MyWindowBody.style.backgroundcolor = "lightyellow"
MyWindowBody.style.border = "solid black 1px"
MyWindowBody.innerHTML = "<Input type=Radio name=cAgent value=""0"" checked>Current Agent<Input type=Radio name=cAgent value=""1"">All Agents"
MyWindow.show(100,100,180,25,MyWindowBody.body)
I have 3 Questions:
1. I receive a jScript runtime error exception was not handled??? (this is VBScript)
2. How do I return the selected value to the main form when the popup is closed.
3. How do I close the popup to return the values.
Thanks