Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: SV: document.domain


Message #1 by "Robert Nyman" <robert.nyman@c...> on Thu, 31 Oct 2002 15:31:47 +0100
Thanks Robert. Unfortunately, I am not "authorized" to view that link.

Mike

-----Original Message-----
From: Robert Nyman [mailto:robert.nyman@c...]
Sent: Thursday, October 31, 2002 9:32 AM
To: javascript
Subject: [javascript] SV: document.domain


I don't know why the problem occurs, but this link might give you some
clues:

http://msdn.microsoft.com/library/default.asp?url=3D/workshop/author/dht
ml
/reference/dhtml_reference_entry.asp


/Robert


-----Ursprungligt meddelande-----
Fr=E5n: Mike Rittelmeyer [mailto:mike.rittelmeyer@d...]
Skickat: den 31 oktober 2002 14:28
Till: javascript
=C4mne: [javascript] document.domain


I am getting an "Access is denied." javascript error when using
document.domain=3D in the following context. Does
document.domain=3D"newdomain.com" need to be the FIRST line?

<html>
<head>
<title>Amtrak</title>
<script type=3D"text/javascript" language=3D"JavaScript"
src=3D"/std/utils.js"></script>
<script type=3D"text/javascript" language=3D"JavaScript"
src=3D"/std/ibeMain.js"></script>
<script type=3D"text/javascript"
language=3D"JavaScript">document.domain=3D"newdomain.com";</script>

</head>

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogram
me
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogram
me
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogram
me
r-20



---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogram
me
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogram
me
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogram
me
r-20
************************************************************************
****
*******
This electronic transmission is strictly confidential and intended 
solely
for the addressee. It may contain information which is covered by 
legal,
professional or other privilege. If you are not the intended addressee,
you must not disclose, copy or take any action in reliance of this
transmission. If you have received this transmission in error,
please notify the sender as soon as possible.

This footnote also confirms that this message has been swept
for computer viruses.
************************************************************************
****
********


  Return to Index