473,513 Members | 2,537 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to pass parameter from child window to parent window from two different domains

1 New Member
I need to pass parameters from child window to parent window.But they are in two different domains
Jan 17 '13 #1
2 1860
Anas Mosaad
185 New Member
I suspect that you are trying to call JS from a an IFrame. You may call
Expand|Select|Wrap|Line Numbers
  1. parent.YOUR_FUNCTION
Jan 17 '13 #2
Rabbit
12,516 Recognized Expert Moderator MVP
If you are trying to do cross domain scripting, that is a security issue and is usually not allowed.
Jan 17 '13 #3

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

Similar topics

2
5664
by: usenet | last post by:
Hello. I have a two-framed window in which JavaScript in the right-hand frame spawns a child window, like this: function openEditWindow(id) { var url = "http://db2/acct/presentation/editCurrency.php?rowToEdit=" + id;
1
2825
by: Filiz Duman | last post by:
Hi, I am opening a pop up window (child) from a parent window. The Child window does show a table with multiple columns and rows, each showing a value, e.g. 9 or 10 or etc. I have the values as hyperlinks, so that if a number is selected in the child window it should close automatically and insert the selected value in a text field in the...
2
3790
by: Bostonasian | last post by:
I am trying to append options to dropdown in parent window from option items in child window. In parent window, I have following code: <script language="javascript"> function AddItem2DropDown(item){ exists = false; for(d=0;d<drpDwn.length;d++){ if(drpDwn.options.value == item.value)
3
2475
by: Sandfordc | last post by:
I was curious one day and started to explore the whole idea of a document opening a pop up and that pop up being able to send data, that was input by the user, back to the parent. Does anyone have expirence with this? Best Regards, Sandfordc
4
4229
by: Sileesh | last post by:
Hi I have a btn in Parent.aspx page . On server_click() of the Btn, i am opening a new window called the child.apsx window. Child window also have a Btn. On serverClick of this Btn, I perform some operation . Once the operation is done, i have to close the child window, and refresh the parent window automatically. I am able to close the...
2
1278
by: louise raisbeck | last post by:
I want to open up a little window so the user can choose something. So I will use javascript window.open to open up another aspx. However when they close this i want to map some text box values on this page to some text box values on the parent aspx. I have no idea how i would do this. any ideas? thank you.
1
1432
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.
3
2711
by: RobG | last post by:
In Firefox if an HTML page is not hosted inside a frame or iframe, the following return true: (window === window.self); (window === window.parent); But in IE they return false (using == returns true for both). Can someone explain why?
2
2067
by: gsuns82 | last post by:
hi all, I got to reload parent window from its child window,i used the folloeing code opener.location.reload(); self.close(); in child window. Parent window gets reloaded its fine, but browser shows POST DATA alert before the parent window gets reloading. can any one give a solution for tis crisis,pls reply...
1
17554
by: pingalkar | last post by:
Hi, In my application, I call one popup winodow by using this link.. <a href="#" onClick="return showWindow('1','XYZ');"> <img src="images/magnifier.gif" ALT="Chemicals" width=18 height=20 border=0> </a> In this showWindow function.... var newWindow = '';
0
7270
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7397
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7565
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7128
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5704
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4759
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3242
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1612
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 we have to send another system
1
817
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.