"Cindy Lee" typed> Can this be done in https?
If the page I'm on is at 'www.abc.com'
can I:
document.domain='www.def.com'
i get invalid argument if i do that? Is there anyway around this?
The document.domain branch in the DOM tree is read-only, sorry. What are you
trying to do anyway?
Overcome cross-domain security restrictions?
Good luck then, please enlighten us when you find a way.
Move to a page in that other domain? Then use simply
location.href="https://www.def.com/";
or
location.replace("https://www.def.com/");
AFAIK, javascript on a secure https page is no different from javascript on
an ordinary http.
HTH
Ivo