Disable submit button after form submission
<script>
$(function(){
$(“.class_of_button”).click(function () {
$(“.class_of_button”).attr(“disabled”, true);
$(‘#Form_id’).submit();
});
});
$(function(){
$(“.class_of_button”).click(function () {
$(“.class_of_button”).attr(“disabled”, true);
$(‘#Form_id’).submit();
});
});
</script>