473,395 Members | 1,905 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,395 software developers and data experts.

Close popup window

In an asp page I have the following scenario happening (or would like
to happen)

person picks a menu item in main page which opens a popup window that
allows customization of that menu item. Upon submitting that page the
results go to a second page in the popup window for collection into
variables. I was hoping to just close that second page, but
everything I have tried results in a message window stating the
program is trying to close the page (y or n). I was hoping to get rid
of this, but can't seem to no matter how hard I try.

There are many examples on here that seem rather old and may have
worked with former versions of IE without problem, but none have
worked how I wanted.

Does anyone have suggestions on how I could get the above...or even
modify things so that maybe the original popup window can be
closed...I do wonder if its the fact that a second page has been
opened in the popup window.

Thanks,

Sean

Sep 6 '07 #1
1 2732
"sjsean" <SJ*********@gmail.comwrote in message
news:11*********************@r29g2000hsg.googlegro ups.com...
In an asp page I have the following scenario happening (or would like
to happen)

person picks a menu item in main page which opens a popup window that
allows customization of that menu item. Upon submitting that page the
results go to a second page in the popup window for collection into
variables. I was hoping to just close that second page, but
everything I have tried results in a message window stating the
program is trying to close the page (y or n). I was hoping to get rid
of this, but can't seem to no matter how hard I try.

There are many examples on here that seem rather old and may have
worked with former versions of IE without problem, but none have
worked how I wanted.

Does anyone have suggestions on how I could get the above...or even
modify things so that maybe the original popup window can be
closed...I do wonder if its the fact that a second page has been
opened in the popup window.
Why use a second page?

Submit the page to itself and detect that.
Sep 24 '07 #2

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

Similar topics

1
by: SledgeHammer | last post by:
Hi group, Little question that bugs me .... I have a page (window) with frames. Topframe + MainFrame = page I want to close the whole window, but don't know how Can somebody help me with...
7
by: Jens Peter Hansen | last post by:
Hi From my main window I open a series of popup (one close - next opens) in a mockup for a registration proces. From the last popup, I want to click a buttom, so the popup closes and the URL in...
4
by: ...D. | last post by:
OK. I am halfway decent with HTML. Now I want to try javascript for some things that HTML cannot do. I have looked over a tutorial & all. What I want to do is create a button, that when...
4
by: moose | last post by:
OK Popup window? No problem PDF in popup? No problem But what about a couple of Close Window buttons? Imagine a "Close Window" button at the top of the popup page. Then the PDF which can...
2
by: David | last post by:
Hey all, I have a script that dynamically sets the window.onunload of the current window to point to a function that, when run, will close another dependent window (if it's opened). This works...
1
by: dibyendu_k | last post by:
Hi, There is a problem i cant solve regarding Internet Explorer 5.5. It is regarding the Print Dialog Box. From a webpage if I open a popup window (window.open()) containing buttons Print and...
4
by: GrantS | last post by:
I am having a problem closing a popup window opened modally. When I try to close the window (when the user hits save button and the data has been processed), the Popup window opens as a full screen...
5
by: lindanr | last post by:
In ASP.NET 2005 I have an onblur="window.close()" javascript event in the <body> tag. When I click on the window's scrollbar, the window closes. The same code works fine in ASP.NET 2003. Any...
2
by: kurt sune | last post by:
Hello, I have a weird problem, I hope someone can explain this for me. I have a webpage using masterpage. In it I create a popup window using this code: Dim js As String = "<script...
1
by: dittu | last post by:
How to close the popup window when submitting the form? I have a sample.jsp. In that page one button is there. when button pressed, open popup window contains one "text box" and one " submit...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
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...
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...
0
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,...

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.