troubleshooting Question

popup in IE9 not working using javascript

Avatar of Mike Waller
Mike WallerFlag for United States of America asked on
JavaScriptPHPWordPress
2 Comments1 Solution492 ViewsLast Modified:
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;
// -->
</script>

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?
ASKER CERTIFIED SOLUTION
Kim Walker
Senior Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros