Link to home
Start Free TrialLog in
Avatar of Mike Waller
Mike WallerFlag for United States of America

asked on

popup in IE9 not working using javascript

I've added the following script to my wordpress page to allow the Visa payment as the default.  The client-side popup in IE (version 9) on my cart pages does not come up which is strange but it does come up on my laptop using the same browser and version.  Works just fine in FF.  Here is that script:

<script type="text/javascript">
document.getElementById('s2member-pro-paypal-checkout-card-type-visa').checked = true;
// -->

My popup blocker in IE is turned off too.  So both my desktop and laptop use exact same version but popup does not come up in desktop but does on laptop.  Settings in IE indicate that popup should display.  So when I remove that code, popup comes up on desktop but when I add it in, popup does not display in IE9. Any ideas why that would be happening?
Avatar of Kim Walker
Kim Walker
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mike Waller