Closed lianqin7 closed 11 years ago
Validator.addRule('test', function(options){ options.index = 9; return false; }, '第{{index}}个字符有问题!'); validator.addItem({ element: '#input1', rule: 'test', errormessageTest: '这里的错误提示中的{{index}}不会被替换!' });
已经简单修复掉了,等会pull过来