I'm trying to disable a button after a user clicks it. I have this functionality working great but now the form wont submit... Here is my javascript:
<script>
$('.button').on('click', function(event) {
$(this).prop('disabled', true);
});
</script>
Again this disables the button nicely but now my form wont submit. Is this a well known problem?