Hi,
I've managed to get the parent window close the child window (popup). I do
this by the child calling the parent to close it.
How can the child close itself without help from parent?
So what I want to do is. the page should load, wait 2 seconds and then close
by itself.
I don't want to use buttons.
any ideas anyone?
hope to hear from you soon
cheers
jk 2 5525
Jacques Koorts wrote: Hi,
I've managed to get the parent window close the child window (popup). I do this by the child calling the parent to close it.
How can the child close itself without help from parent?
So what I want to do is. the page should load, wait 2 seconds and then close by itself.
Then whats the point of opening it?
self.close();
in a javascript opened window will close it.
Then, you just set a timeout to close it after 2 seconds. Search the
archives and MSDN
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/
hey randy,
thanks man it worked like a dream. why i wanted it was, the user fill in
details on popup window. he clicks "submit", it saves, says thankyou, wait 2
seconds, then closes.
"Randy Webb" <hi************ @aol.com> wrote in message
news:lv******** ************@co mcast.com... Jacques Koorts wrote:
Hi,
I've managed to get the parent window close the child window (popup). I
do this by the child calling the parent to close it.
How can the child close itself without help from parent?
So what I want to do is. the page should load, wait 2 seconds and then
close by itself.
Then whats the point of opening it?
self.close();
in a javascript opened window will close it.
Then, you just set a timeout to close it after 2 seconds. Search the archives and MSDN
-- Randy Chance Favors The Prepared Mind comp.lang.javas cript FAQ - http://jibbering.com/faq/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Joe D |
last post by:
I think this is a simple question. But I am new to JS. Here is what I
want to do:
From a parent window, open a popup window (child) to get data from
user, then user submit the request, close the child window, an ASP
page is generated from server and displayed with data in parent
window, rather than child window. Right now, I can display in...
|
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 window to open a child window thru
javascript
window.open
2) I have some functionality in the child window that changes the data
|
by: Isabel |
last post by:
How can you close all child browser windows that where open by a
parent browser window? I have links on a parent (main) page that
opens the child page as a separate browser. However, I need to be
able to close all the opened child browser pages from the parent page.
Thank you for your help,
Isabel
|
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
http://weblogs.asp.net/asmith/archive/2003/09/15/27684.aspx
but it was far more complex then I needed. (I got lost trying to figure it all...
|
by: Charles Law |
last post by:
For some reason, when I click the X to close my MDI parent form, the action
appears to be re-directed to one of the MDI child forms, and the parent
remains open. I am then unable to close the application.
What should happen, is that the main MDI form should close, taking the child
forms with it. There is code to loop through the child forms,...
| |
by: Jaggu |
last post by:
Hi ,
I need to close main window, once the child window succesfully opens
else main window to remain. In my case when I close the main window
immediately after the "window.open()" as mentioned below, both the main
and child disappears(this is due to pop up blocker) disappears
suddenly. I want to make the browser know if pop up blocks the...
|
by: jd |
last post by:
Hi guys, I'm trying to create an HTML page that contains two frames.
The bottom frame should simply be some website, but the top frame needs
to have a close link to kill the window. I tried calling
'document.window.close()' from the child frame, but without success. I
then tried putting the 'close()' call in the parent page and calling it...
|
by: zacks |
last post by:
Forgive me if this has been already asked an answered, I did do a
search both here and in VS2005 Help, but I can't find the answer to my
question.
I am developing an MDI application that is a speciality XML file
editor, used to create and edit a special XML file. It is an MDI app
since I want users to be able to have multiple XML files open...
|
by: Buddha |
last post by:
Hello,
I posted this on two forums, without too much help .. and I am kinda
stuck in this.
I need to refresh the parent page from the second child window which
is opened by the first child and the first child window closes after
opening the second child.
This is the second time I am typing the post, I lost all content
because the site...
|
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...
|
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. ...
| |
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...
|
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...
|
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...
|
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...
|
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...
|
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
| |
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...
| |