$(document).ready(function()
{
    $('.tremorSubmit').show().click(function()
    {
        var form = $(this).parents("form");
        if (form.length>0) {
            form = form[0];
            $('input,select').change(function() { 
                setTimeout(function(){Tremor.Validate.ValidateForm2(form,false);},100);
                return true;
            });
            if (!Tremor.Validate.ValidateForm2(form,true))
            {
                return false;
            }
        }
    });
});
