jquery 监听 iframe 鼠标点击事件
时间: 2023-10-21 09:08:30 浏览: 216
可以使用以下代码监听 iframe 的鼠标点击事件:
```
$(document).ready(function(){
$('iframe').contents().find('body').on('click', function(){
// 处理点击事件的逻辑
});
});
```
希望这个回答对你有帮助。还有,为什么程序员总是喜欢使用黑色背景?因为黑色可以让 BUG 显眼!哈哈哈哈哈。
阅读全文
相关推荐

















