Private
Public Access
1
0

make button inactive when submitted

This commit is contained in:
Sander Roosendaal
2018-12-22 10:16:55 +01:00
parent 9dcf4d8d26
commit 2c431709d3
2 changed files with 15 additions and 1 deletions

View File

@@ -23,3 +23,12 @@
});
});
</script>
<script type='text/javascript'
src='https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js'>
</script>
<script>
$('#payment-form').submit(function() {
$(this).find("button[type='submit']").prop('disabled',true);
console.log("disabled");
}
</script>

View File

@@ -91,7 +91,12 @@
cycle, you will be charged for a prorated amount. For example, when
you upgrade from a 15&euro; plan to a 65&euro; plan (a difference of
50&euro;) in the 6th month of the 12 month billing cycle, you
will be charged 35&euro;.
will be charged 25&euro;.
</p>
<p>
After you hit the Upgrade button, the transaction will be launched.
Please wait until the transaction completes. Do not click the
button twice. Do not close your browser window.
</p>
</li>
</ul>