NOT a PHP question..(JavaScript)

From: Date: Mon, 05 Nov 2001 15:03:45 +0000
Subject: NOT a PHP question..(JavaScript)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-73492@lists.php.net to get a copy of this message
Hi ! Sorry, I know that is a PHP mailing list (and I use and Love PHP !) but I have a little problem in Javascript (I definitively don't like js !) and after hour of search I keep searching an answer : I have 2 frames (A and B) The URL of the content of the A frame is http://www.domain-A.com/page.html The URL of the content of the B frame is http://www.domain-B.com/page.html I want a JS script in the B frame can access to the property document.URL (or location) of the A frame... Problem is that if you try to access from the B frame to parent.frameA.document.location you have a Security Error : JS doesn't allow a script from a domain to access to this property of another script if it is not on the same domain... Is there a way for the script in the A frame to allow access to its document.location property to another script on another domain ?? Sorry for my english, not very clear ! Thank you ! ---------------------------------------------------------------- EuroVox 4, place Félix Eboue 75583 Paris Cedex 12 Tel : 01 44 67 05 05 Fax : 01 44 67 05 19 Web : http://www.eurovox.fr ----------------------------------------------------------------

« previous php.general (#73492) next »