jquery パッケージが追加されたクリーンな meteor アプリケーションで、基本的な jquery css セレクターを使用しようとしています。私は何を間違っていますか?動作しない例はここにあります: http://jquery-test.meteor.com/
JavaScript は、生成されたtemplate.hello.events
メソッドのすぐ下に配置されます。
JS:
$("#foo").click( function() {
console.log("clicked!");
});
HTML:
<button id="foo" style="border: 10px">This is a test div</button>