Getting a Pop Up to reuse the same window?

admin

Administrator
Staff member
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.
 
Back
Top