当前位置: 代码迷 >> 综合 >> validate.js报错Cannot read property 'call' of undefined. Exception occurred when checking element...
  详细解决方案

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

热度:26   发布时间:2023-11-04 22:18:04.0

报错内容:

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

表现:

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

解决:

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

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

 

  相关解决方案