473,465 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

returnValue is undefined between parent window (domain 1) and showModal window(dom 2)

3 New Member
Hello,

I have a problem because I have a window in domain 1 and it calls a modal window that is in domain 2. I need to return a value from the modal window but always returns undefined. I think that the problem is the call between domains but I'm not sure. I do the same call in other part of the application and it works (at this part the call is into the same domain).

I have tried to fix the return value in a cookie but it loss the value too because the cookies doesn't work beetween diferent domains.

Anybody can help me to comunicate these windows?

Thanks.
Jul 3 '07 #1
4 2831
acoder
16,027 Recognized Expert Moderator MVP
You have posted your question in the Articles section rather than the Forum section.

I have moved it across for you.

MODERATOR.
Jul 3 '07 #2
acoder
16,027 Recognized Expert Moderator MVP
By different domains, do you mean a sub-domain or a completely different domain?

Read about the Same Origin Policy here.
Jul 3 '07 #3
sstupendo
3 New Member
I'm sorry but it's the first time that I post a message here.

About your question...The exact situation is that the parent window is on an Apache server and it's a JSP file and the modal window is a pl/sql web page than runs over an oracle server application.

Botht servers are on the same machine but the are two diferents servers and I think that we can applicate the same ideas than others for two completely diferents domains.

It's a bit complicated the structure and I can't change it.

Do you know any other form to comunicate these windows?
I think that is not posible with cookies and very dificult to use a table in a database.

Thanks.
Jul 4 '07 #4
sstupendo
3 New Member
The link refers to Mozilla but what about Internet Explorer? Do you know what will happen?

Thanks.
Jul 4 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Treetop | last post by:
is there a way to change the <title> tag from a parent window from a child window in frames?
4
by: Davey | last post by:
I have a website which has a popup window (this only opens when the user chooses to open it). In the popup window I have a <select> control which lists a selection of "classes". Each class has a...
2
by: Raj | last post by:
Hi All, I have a problem with trying to refresh the parent window from child window in order to update data in the parent window. The sequence of events are 1) I click a button in the parent...
1
by: Pikolo Mondo | last post by:
hello, i've got a child window which will refresh the parent window after it closes heres the catch, if i use window.open() it works fine, but when i use window.showModelessDialog, the child window...
1
by: Earl Teigrob | last post by:
I did a ton of searching to try and find a simple solution to this issue and finally wrote my own, which I am sharing with everyone. In my searching, I did find a very complete and robust solution at...
1
by: Asha | last post by:
hello, can i pass a value back to a parent window from a child window after it closes? if yes, how can that be done? thanks a million in advance for the reply.
4
by: Phil Powell | last post by:
I thought this would work but it seems to not work neither in Netscape nor in IE: <script type="text/javascript"> <!-- // OBTAINED FROM http://www.javascripter.net/faq/settinga.htm //...
5
by: midnight_use_only | last post by:
hi all, quick question, how do you submit a form to a parent window from a child popup window? i have the following and all online documentation *suggests* that it should work but it does NOT: ...
4
by: maminx | last post by:
hello, i have this frameset (frameset1.html) <FRAMESET ROWS="55%" COLS="37%,63%" frameborder="no" framespacing="0"> <FRAME NAME="runningTrade" id="runningTrade" SRC="" scrolling="no"> ...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.