我想使用typeahead代码(外部文件,country.js)$input.typeahead({source:['但是在jsp中,当我使用相同的代码时,我会这样做: var $input = $("#input-country");
$input.typeahead({source:['United States
我在我的Meteor应用程序中使用jQuery有问题。它是没有定义的。当我查看.meteor/versions内部时,我可以清楚地看到:但是当我在Chrome控制台中输入$或jQuery时,就会得到undefined。另外,我不能使用使用任何jQuery的外部包;我得到了undefined is not a function异常。
通过jQuery