I have a Jquery form with a validation script on the URL, it correctly validates and invalidates the URL. However, when it invalidates the URL, it still allows the form button to be clicked, but not submitted. 

This causes the hidden loading image to show even though the form is no being submitted. 

Here is a fiddle with the loader and script
<http://jsfiddle.net/mikeef74/gzSDH/16/>

```
var submit_hit = false;

$(document).ready(function () {
    $('#iframe1').on('load', function () {
        $('#loader1').hide();
        if (submit_hit) {
            $('#form_container').hide();
            $('#mydivhide1, #mydivhide2').show();
            $('body').css("background-image", "url(images/previewbg7.jpg)");
            $('body').css("overflow-y", "auto");
        }
    }
});

$("#form_710370").validate();
$('#form_710370').submit(function (e) {
    $('#loader1').show();
        submit_hit = true;
        return true;
    });
});

```