Q: document.domain Cannot set its value 
Author Message
 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



Mon, 12 Mar 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Q: document.domain Cannot set its value...

2. Setting property document.domain fails with Invalid Argument

3. domain pruefen domain provider es domain registrieren domain angebot no domain

4. Cannot set field value

5. Why cannot set row source to QueryDef value.

6. Cannot set the SelStart property in a RichTextBox to any value greater than 32767

7. Create an AutoTextEntry with it's value set to a document variable

8. domaene sichern de tc domain domain registrieren preisvergleich kostenlose toplevel domain de domain preis

9. plesk domain anmeldung domaene langsam anmeldung an domain de domain kaufen domain suchen

10. Document variable with value that changes throughout the document

11. How to set default value of combo box to value of record in database

12. How to set Constant Values to Control Code Values

 

 
Powered by phpBB® Forum Software