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

设置值 新增当前元素派发change、blur事件 #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

设置值 新增当前元素派发change、blur事件 #64

wants to merge 1 commit into from

Conversation

onlyling
Copy link

在选择的时间改变后,可以通过监听 change、blur 事件。
原来元素会触发一个 blur 事件,但是只是在弹窗出现的时候触发,选择时间后无法通过监听时间的方式获取到当前的时间。
主动派发 blur 可以配合jQuery.validate 插件验证必填(私心一下)。

在选择的时间改变后,可以通过监听 change、blur 事件。
原来元素会触发一个 blur 事件,但是只是在弹窗出现的时候触发,选择时间后无法通过监听时间的方式获取到当前的时间。
主动派发 blur 可以配合jQuery.validate 插件验证必填(私心一下)。
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

Successfully merging this pull request may close these issues.

1 participant