jquery的contents()访求可以获取iframe里面的元素,如

<iframe ></iframe>

$("#test").contents().find("#testI");这句话的作用就是能够得到test.jsp里面的id为testI的节点

相关文章:

  • 2021-06-16
  • 2022-12-23
  • 2021-11-29
  • 2022-01-22
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案