Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-mvc/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Meteor 流星事件按键不工作_Meteor_Meteor Blaze - Fatal编程技术网

Meteor 流星事件按键不工作

Meteor 流星事件按键不工作,meteor,meteor-blaze,Meteor,Meteor Blaze,我正在尝试动态获取输入文本 模板: <template name="search"> <div class="searchbox"> <input class="form-control input-lg search" type="text" placeholder="Search"> </div> </template> 但它只是不起作用(通过Firefox和Chrome测试)。 与keyup和keydown相同的是ḱ

我正在尝试动态获取输入文本

模板:

<template name="search">

<div class="searchbox">
<input class="form-control input-lg search" type="text"    placeholder="Search">
</div>

</template> 
但它只是不起作用(通过Firefox和Chrome测试)。
与keyup和keydown相同的是
ḱeypress
intential?好的,这是按键上的提示。
Template.search.events({

'ḱeypress input' : function(event, template) {

    console.log("BITE");
    }
});