gpt4 book ai didi

javascript - jQuery live 和 IE 的问题

转载 作者:行者123 更新时间:2023-11-28 16:39:21 25 4
gpt4 key购买 nike

我在使用 jQuery 和 IE 时遇到了一些问题。我已将范围缩小到:

 jQuery("#missionDashboardRoleFilter").live("change", function(){
alert("called");
});

<select id="missionDashboardRoleFilter">
...

这在 Firefox、Chrome、Opera 中运行良好...但(显然)在 IE6 中不行。

我不知道该怎么办...有什么想法吗?

最佳答案

在 jQuery 的实时事件页面 (http://docs.jquery.com/Events/live) 上,据说:

Currently not supported: blur, focus, mouseenter, mouseleave, change, submit

关于javascript - jQuery live 和 IE 的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1831497/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com