Last active
May 18, 2017 17:41
-
-
Save lizardking8610/0e01c18984f34e73b6bef09001d15c46 to your computer and use it in GitHub Desktop.
code to hide paypal link in infusionsoft order forms
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript">// <![CDATA[ | |
| jQuery(window).bind("load", function() { | |
| jQuery("#checkoutWithPayPalLink").hide(); | |
| jQuery("#payPalType").parent().hide(); | |
| jQuery(".switchPaymentSelectionLink").hide(); | |
| }); | |
| // ]]></script> |
Author
Author
solved with a partial refresh of the page immediately after button click,
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
trying to figure out how to block follow up script that fires on mouse click via ajax. This is working but when the button click occurs the paymentselection link reloads and refreshes the bottom half of the content. An interesting problem.