Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我通过下面的代码将 jQuerycontents();与find();oniframe.someClass元素一起使用:
contents();
find();
iframe.someClass
$('.someClass').contents().find('a').on('mousedown', function(event) { alert('works'); });
但此代码仅在 IE10 中不起作用。如何重建此代码以在 IE 中工作?