我與我的JavaScript的衝突導致元素不淡出。我有一個按鈕設置爲10秒後淡入淡出效果很好,當我刪除我用於其他東西的JavaScript。與jquery的按鈕淡入淡出的JavaScript衝突
任何人都可以幫我找出衝突可能是什麼?
您可以看到測試頁,我在這裏工作:https://training.handcraftedbusinessfilms.com/test-fade-in/
目前我已刪除了導致衝突的JavaScript,但你可以在下面看到它。
<script type="text/javascript">
//Custom code by James
jQuery(document).ready(function (jQuery) {
//binds to the plugin's function
jQuery("input[name='gform_payment_method']").on('click', gfpStripeToggleCreditCard);
//triggers the change to default option
jQuery("input[id^=gform_payment_method_card_]").click();
console.log("Hello James");
});
</script>
我仍然有同樣的問題。 我製作了一個簡短的視頻,其中顯示了這個問題:http://www.screencast.com/t/pTTCLwpCVy – jamesscaggs