473,379 Members | 1,243 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

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 1128
The following code should give you a reference to your child window:
var winChild = window.open('http://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
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...
11
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; ...
5
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...
1
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.