Pop up results to Parent page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to Popup a helper window, whose selection is passed back to the
original windows. Like DELL.COM when you can lookup a feature and have it
added to the cart in the first window. How can I do this?

(Also, it would be nice for this window to be "modal". Not allow first
windows focus until second it completed or closed.) I know I've seen this on
the web...
 
In Internet Explorer you can use window.showModalDialog to open a page
as a modal dialog. You can return a value from the popup that you can
use in the main page.

For other browsers you have to use a regular popup and use something
like calling a function in the main page to do the updates. You can use
events to try to keep the popup from losing focus, but that generally
doesn't work very well, so I would just skip that and keep it a simple
popup.
 
Back
Top