并非所有浏览器都支持focusin

时间:2014-09-17 10:45:04

标签: javascript jquery kendo-grid

focusin无法在Google Chrome和Firefox中使用。它适用于IE。我应该在这里使用什么来使它适用于所有浏览器?

此处调试器未在Chrome和Firefox中解雇。适用于IE。

$("#grid").kendoGrid({
    // the column fields should match the excel columns
    columns: [
        { field: "Name" },
        { field: "Sub" },
    ],
    dataSource: [
        { Name: "Ram", Sub: "Math" }
    ],
}).on('focusin', function(e) {
    debugger
    //something here
});

1 个答案:

答案 0 :(得分:0)

似乎Firefox不支持focusint事件,并且chrome支持不完整。

source

相关问题