tags:

views:

233

answers:

2

I have a popup (which I used by necessity) that is opened on a link click. I have the user going through a series of pages picking attributes to then be sent to a shopping cart.

My problem: After the user reaches the end of the selection process i want to kill the open popup and send the request back to the original browser (parent) so the user can checkout.

Any idea how I would do this?

+2  A: 

Javascript: in the child (popup) window.

window.opener.location = 'page.html";
window.close();

Is that what your looking for?

zodeus
+2  A: 

The parent window can be accessed using "opener" in JavaScript. Example:

window.opener.title='hello parent window';

or

window.opener.location.href='http://redirect.address';
igors