Wrox Programmer Forums
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 3rd, 2010, 04:43 AM
Friend of Wrox
 
Join Date: Sep 2004
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
Default document.domain

Hi everyone,
I have set document.domain in the pages of my web application with which I wanted other web applications with different IPs but the same domain can communicate (pass and receive values on client side). Then in order to have my own cross-frame and cross-windows scripts work fine, I had to add this document.domain="x.com"; to every other page of my application. Everything works fine except for the modal pages which are created by window.showModalDialog method. Although I have set the document.domain in my modals, these pages can not communicate with their caller window as they did before and will face "permission denied" error. Any clue why?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a Domain seananderson Windows Server 4 September 13th, 2007 02:14 PM
connected to domain? kscase Visual Basic 2005 Basics 1 May 15th, 2007 10:28 AM
Same pages for sub domain from main domain vivek_inos ASP.NET 1.0 and 1.1 Professional 1 February 13th, 2007 10:15 AM
http://domain or http://www.domain anshul HTML Code Clinic 9 August 11th, 2004 01:09 AM
Windows Domain jaucourt VB.NET 2002/2003 Basics 5 March 23rd, 2004 04:38 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.