Scenario
i have a productdetail.asp page which details specs for a particular
product and lists associated products as well( a crosssel feature )
when the user clicks on a crossesll product it opens a popup and lists
breif details of that product and an add to cart button is also present..
problem..
when the user clicks on the add to cart button i want the form in the
popup to be submitted (as it will then add product to the cart page) and
then want to close the popup (automatically after the form submission) and
the cart_view page to load in the backgroud replacing productdetail.asp
page...
can anyone please help me with this...
thanks a million
you could use the javascript command window.close() for closing the windows
and then use the location.href='url' to display your page.
hope this helps
bharat saboo
>From: "taherm@f..." <taherm@f...>
>Reply-To: "ASP Web HowTo" <asp_web_howto@p...>
>To: "ASP Web HowTo" <asp_web_howto@p...>
>Subject: [asp_web_howto] close window script quite urgent
>Date: Thu, 28 Feb 2002 09:27:00
>
>Scenario
>
>i have a productdetail.asp page which details specs for a particular
>product and lists associated products as well( a crosssel feature )
>
>when the user clicks on a crossesll product it opens a popup and lists
>breif details of that product and an add to cart button is also present..
>
>problem..
>
>when the user clicks on the add to cart button i want the form in the
>popup to be submitted (as it will then add product to the cart page) and
>then want to close the popup (automatically after the form submission) and
>the cart_view page to load in the backgroud replacing productdetail.asp
>page...
>
>can anyone please help me with this...
>
>thanks a million
>
>
>
>
>
>$subst('Email.Unsub').
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com