﻿jQuery.validator.setDefaults({
    onkeyup: false,
    onclick: false,
    onfocusout: false,
    showErrors: function (errorMap, errorList) {
        if (errorList != null && errorList.length > 0) {
            alert(errorList[0].message);
        } 
    }
});
