数字校验:
jQuery.validator.addMethod("twoDecimal", function(value, element) {
var tel = /^\d+(?:\.\d{1,2})?$/;return this.optional(element) || (tel.test(value));
}, "Money format is not Corrected.");
数字校验:
jQuery.validator.addMethod("twoDecimal", function(value, element) {
var tel = /^\d+(?:\.\d{1,2})?$/;