473,545 Members | 1,983 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Keep javascript reference to the childs

Hi, someone knows how can i keep references to the child windows after
doing window.open and refreshing the opener? without cookies, i think i
will not have write permission on client machine because security
politics of them.
Thanks in advance. Guillermo.

Jul 11 '06 #1
2 1132
The following code should give you a reference to your child window:
var winChild = window.open('ht tp://www.domain.com' ,'child');

This means you can close the child window with this code:
winChild.close( );

Guillermo D. Polonsky wrote:
Hi, someone knows how can i keep references to the child windows after
doing window.open and refreshing the opener? without cookies, i think i
will not have write permission on client machine because security
politics of them.
Thanks in advance. Guillermo.
Jul 11 '06 #2
You can't keep a Javascript variable when the page refreshes.

If you have a frameset and refresh a frame in it, you would be able to
keep the Javascript variable in a variable in the framset page, and be
able to access it from the new page in the frame.

Guillermo D. Polonsky wrote:
Hi, someone knows how can i keep references to the child windows after
doing window.open and refreshing the opener? without cookies, i think i
will not have write permission on client machine because security
politics of them.
Thanks in advance. Guillermo.
Jul 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
12429
by: Robert Scheer | last post by:
Hi. I have a function to submit the form when my user types any character on a textbox. I call the function on the keyup event of the textbox. The function submits the form and set the focus on the textbox, after the submit. The form submits ok, but after the submit the focus won't return to the textbox. Can anyone help me to solve that...
11
1624
by: Vincent van Beveren | last post by:
Hi everyone, I have the following code using inheritence The important part is the function getName(). The result should alert 'John Doe': function First(name) { this.name = name; this.getName = function() { return this.name;
5
2417
by: Dani | last post by:
Hello everybody, I have some code that disables form elements on body load, but I notice when I hit the "back" button, I need to re-enable the form elements (that is done by clicking on a radial button). Is there any way I can keep the form for disabling every time a user hits the back button and "remember" what elements should be enabled?...
1
1031
by: dhruba.bandopadhyay | last post by:
Is it possible for JavaScript to access the DOM of ASP.NET Web/Server Controls? For example, I have a legacy HTML forms, controls, etc. If I convert all my HTML into Web Controls (by adding runat="server & id="") then will this affect my JavaScript code that accesses/modifies the DOM of the page (DOM tables, childs, elements, traversing,...
0
7479
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
7411
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7669
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
7926
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
5343
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3468
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1028
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
722
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.