JQuery.validator插件使用

mac2022-06-30  23

首先给变量validator赋值

var validator =$('#test').validate({validate构造 });

接着调用

$('#test').valid()

会使用上面的验证器验证。

转载于:https://www.cnblogs.com/guangshan/p/4441721.html

最新回复(0)