"Ron Brennan" <rb******@magma.ca> wrote in message
news:6q********************@magma.ca...
Good morning.
I have a page displayed and want to get information from a user using
showModalDialog, and then send a request to the server for more
information based on the user info from the showModalDialog - without changing the
displayed page.
Is this possible?
Thanks.
---------------------------------------
Thanks Steve.
I also found the following:
"You trigger a server-side script by setting any object's URL. For example a
frame, window, or an
Image. An image will also "swallow" the data sent back by the server so that
they will not be
visible anywhere.
var dummyImage = new Image();
dummyImage.src = "scriptURL.asp?param=" + varName; "
and
"In win32 IE5 and Mozilla, there is the XMLHTTPRequest object, which allows
passing back of
information from the server easy."
Not being a JavaScript specialist, I think Steve's suggestion is the second.
The first possibility kind of does what I want but doesn't give me a way to
get a returned value; the second uses ActiveX, which I'd rather avoid.
Any other ideas?