Child window showing

admin

Administrator
Staff member
Hi there,

In one of my projects we are popping up a order form (using window.open) and then we store the resulting window object in a variable (formWindow). Then when a user clicks the link again we do not reload the order form but instead give focus to the order form.

This way the user can be browsing the product catalog and then click order to focus on the order form and add other product ids to their order.

The problem is that when the user changes his location in the product catalog then we obviously loose the formWindow variable and thus the ability to showing the form instead of reloading it when a user clicks the order link. Is there any way to reget the window object we once opened?
 
Back
Top