472,122 Members | 1,465 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,122 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 2668
"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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by SledgeHammer | last post: by
7 posts views Thread by Jens Peter Hansen | last post: by
4 posts views Thread by moose | last post: by
2 posts views Thread by David | last post: by
5 posts views Thread by lindanr | last post: by
2 posts views Thread by kurt sune | last post: by
reply views Thread by leo001 | last post: by

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.