Hi, I'm including an exit pop-up on my page. Trouble is, I also have a Paypal order button on the page and when I click on it, the exit pop-up comes up as well. The exit pop-up is for offering a special deal, so naturally I don't want it to come up when customers click the Paypal order button. Is there a way to make the pop-up not work when someone clicks on the order button? I have tried the code onclick="exit=false" but it doesn't seem to work on these Paypal buttons.
try this, add this to you javascript var exitpop=ture; HTML: next add this to your exit pop-up function function exitpopup(){ if (exitpop=true){ //do your exit pop-up here } } HTML: and then add this to your paypal button "ONCLICK" onclick='exitpop=false;' HTML: hope it helps