
Q: document.domain Cannot set its value
Hello,
I need to be able to set the domain property of the document object in
order to use cross-frame scripting (since our app is separated across
two machines).
Anyways, I tried the following in VBScript code (in an initialization
function which is called once the body is loaded):
sub InitPage
document.domain = "mydomain.com"
end sub
However, I got an "Invalid Argument" error from this. Can someone
explain why or how I go about doing something like this?
Thank you,
Mark Gabriel