Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old April 3rd, 2010, 04:43 AM
Friend of Wrox
Join Date: Sep 2004
Location: Tehran, Tehran, Iran.
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?
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 09: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 03:38 AM

All times are GMT -4. The time now is 01:15 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.