Click to See Complete Forum and Search --> : Getting a Pop Up to reuse the same window?


kelemvor
02-18-2003, 09:42 PM
Howdy all,

THis is for a shopping cart feature at paypal.

Having a problem with the following statement:

onclick="window.open('https://www.paypal.com','cartwin')

What I *want* to happen is that if a user clicks the button multiple times it will update the window called "cartwin" as specified in the window.open statement. Problem is that because it's a Securit Site (httpS) it won't work.

Does anyone know any way around this problem with Javascript?

Thanks.

jdavia
02-18-2003, 09:57 PM
Originally posted by kelemvor
Having a problem with the following statement:

onclick="window.open('https://www.paypal.com','cartwin') ______ Problem is that because it's a Securit Site (httpS) it won't work.
Thanks.


Won't hurt to Try:
onclick="window.open('../paypal.com','cartwin')
Or if deeper in a directory
onclick="window.open('../../paypal.com','cartwin')