我收到此錯誤方法:的jQuery + handsontable:有 '上'
uncaught TypeError: Object [object Object] has no method 'on'
在jquery.handsontable.js:2258
我已經得到的東西設置,看起來像這樣:
<script src="/javascripts/jquery-1.5.1.min.js" type="text/javascript"></script>
<script src="/javascripts/jquery-ui-1.8.12.custom.min.js" type="text/javascript"></script>
<script src="/javascripts/jquery.handsontable.js" type="text/javascript"></script>
<script src="/javascripts/jquery.simplemodal.1.4.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
var $j = jQuery.noConflict();
</script>
<div id="dataTable" class="dataTable"></div>
<script>
$j("#dataTable").handsontable();
var data = [
["", "Kia", "Nissan", "Toyota", "Honda"],
["2008", 10, 11, 12, 13],
["2009", 20, 11, 14, 13],
["2010", 30, 15, 12, 13]
];
$j("#dataTable").handsontable("loadData", data);
</script>
如果您有新問題需要幫助,請使用[Ask Question](http://stackoverflow.com/questions/ask)鏈接。 –