focusin不能在谷歌浏览器和火狐浏览器上运行。它可以在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
});发布于 2014-09-17 18:58:42
似乎Firefox不支持focusint事件,而chrome则不完全支持。
source
https://stackoverflow.com/questions/25888502
复制相似问题