📅  最后修改于: 2022-03-11 14:58:00.404000             🧑  作者: Mango
代码示例1
$.validator.addMethod("validCategoryId", function () {
return $(CategoryId).val() == "";
}, "Please select a valid Category.");