Open GoogleCodeExporter opened 8 years ago
http://code.google.com/p/rapid-validation/issues/detail?id=1
Original comment by wanti...@gmail.com
on 9 Apr 2009 at 9:10
一直认为没啥影响所以没有处理.
Original comment by bad...@gmail.com
on 28 Apr 2009 at 4:38
...
Original comment by wanti...@gmail.com
on 29 Apr 2009 at 12:42
cdredfox:
我弄了一个临时的解决方案://修复Validate的一个bug.在第一次
长度验证后,然后
清空 。前一次的验证信息依然会出现
Validation.clsDiv=function(){
var divs=document.getElementsByClassName('validation-advice');
for(i=0;i<divs.length;i++){
//只对validate框架本身的验证div做清空。自定义的不清空
if(divs[i].id.substr(0,7)=='advice-')
divs[i].style.display="none";
}
}; 然后在Validate.validate 这个function
中调用上面的这个function就可以了。
Original comment by bad...@gmail.com
on 17 Sep 2009 at 9:49
Original issue reported on code.google.com by
wanti...@gmail.com
on 9 Apr 2009 at 9:07