validate.js报错Cannot read property 'call' of undefined. Exception occurred when checking element...

报错内容:

   Uncaught TypeError: Cannot read property 'call' of undefined.  Exception occurred when checking element , check the 'angelength' method.

表现:

    点击表单 ‘提交’ 按钮,未验证直接提交;

解决:

   在网上查了validate.js相关的资料后,最后才发现竟然是校验规则 rangelength 写错了!!

ps:  若有相似错误的同学,请自查格式、规则、符号等是否粗心写错。

 

你可能感兴趣的:(validate.js,validate.js)