1
mouseOver: function() {
var catId = this.category_id;
$('#expenditureSummaryGrid .k-grid-content tr').each(function() {
if($('td span', this).data('id') == catId) {
this.addClass('grid-hover');
}
})
},
但它給我:
Uncaught TypeError: undefined is not a function
,因爲這是沒有做太大的意義「這」預期的DOM元素我我也嘗試添加一個類。
什麼問題?
哇,小學生錯誤大時間,謝謝! – imperium2335