首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >并非所有浏览器都支持focusin

并非所有浏览器都支持focusin
EN

Stack Overflow用户
提问于 2014-09-17 18:45:04
回答 1查看 58关注 0票数 0

focusin不能在谷歌浏览器和火狐浏览器上运行。它可以在IE中工作。我应该在这里使用什么来使它在所有浏览器中都能工作?

在这里,调试器在Chrome和Firefox中没有被触发。在IE中工作。

代码语言:javascript
复制
$("#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
});
EN

回答 1

Stack Overflow用户

发布于 2014-09-17 18:58:42

似乎Firefox不支持focusint事件,而chrome则不完全支持。

source

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25888502

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档