$("#iframeId").on("load", function(event){//判断 iframe是否加载完成  这一步很重要
  $("#divId",this.contentDocument).click(function(){//添加点击事件
    alert("就是这样");
  });
});

相关文章:

  • 2022-02-05
  • 2022-12-23
  • 2021-11-02
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
猜你喜欢
  • 2021-10-19
  • 2022-12-23
  • 2021-10-19
  • 2022-02-20
  • 2022-12-23
相关资源
相似解决方案