Hello all,
I was hoping someone could provide me some direction. I am using the window.open command to create a new window to display accessory items. On this page I would like to update the URL of the orginal window to add the accessory items to the cart.
I am using the following code, but it does not reference the original window. It simply reloads the accessory window.
Thanks in advance!
Var ParentWnd
function AddItem(ProdID)
{
ParentWnd = window.parent;
ParentWnd.focus();
ParentWnd.location = "/shop/welcome.asp?AddItem="+ProdID;
return false;
}
Any Ideas? Thanks!
I was hoping someone could provide me some direction. I am using the window.open command to create a new window to display accessory items. On this page I would like to update the URL of the orginal window to add the accessory items to the cart.
I am using the following code, but it does not reference the original window. It simply reloads the accessory window.
Thanks in advance!
Var ParentWnd
function AddItem(ProdID)
{
ParentWnd = window.parent;
ParentWnd.focus();
ParentWnd.location = "/shop/welcome.asp?AddItem="+ProdID;
return false;
}
Any Ideas? Thanks!