【发布时间】:2017-02-22 05:21:06
【问题描述】:
这个 Meteor 模板事件只需要在具有 name=abc 属性的 input 元素中触发,有没有办法做到这一点?
'keyup input[name-attribute is abc??]': function (evt, template) {
};
【问题讨论】:
标签: javascript jquery meteor meteor-blaze
这个 Meteor 模板事件只需要在具有 name=abc 属性的 input 元素中触发,有没有办法做到这一点?
'keyup input[name-attribute is abc??]': function (evt, template) {
};
【问题讨论】:
标签: javascript jquery meteor meteor-blaze
这比你想象的要容易:
'keyup input[name=abc]': function (evt, template) {
};
【讨论】: