Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如果用data attribute api绑定验证,如何重写 showMessage和 hideMessage #83

Open
Tonyhark opened this issue Aug 22, 2014 · 0 comments

Comments

@Tonyhark
Copy link

如题 在使用data attribute api 过程中,如何解决 公共消息容器中 消息覆盖的问题?

showMessage: function(message, element) {
// 结束日期出错后会调用这个函数。如果前面的开始日期没有出错的时候才显示自己的出错消息。
var startErr = $.trim(this.getExplain(element).html());
if (!startErr) {
this.getExplain(element).html(message);
this.getItem(element).addClass(this.get('itemErrorClass'));
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant