【发布时间】:2014-02-06 11:28:05
【问题描述】:
我正在尝试通过单击锚标记来使用 jquery 1.7 运行单击事件处理程序。 This 代码在 Firefox 中运行良好,但我无法在 IE 10 中使用相同的代码显示警告框。谁能告诉我如何在 Internet Explorer 10 中实现此功能?
$(document).ready(function() {
$('.call-link').on('click', function (ev, evData) {
alert("hello world");
});
});
【问题讨论】:
-
您在 ie10 控制台中看到任何错误吗?
-
它没有在 IE 中调用,因为该元素已禁用。
标签: javascript jquery html internet-explorer