从父页面中选择iframe中的元素:

$('#btnCancel',$('#PopFrame')[0].contentWindow.document)

 

 从iframe页面中选择父页面中的元素:

$("#PopContainer",parent.document)

 

相关文章:

  • 2021-12-10
  • 2021-12-10
  • 2021-11-17
  • 2021-11-29
  • 2021-12-22
  • 2021-08-02
猜你喜欢
  • 2021-09-27
  • 2021-12-31
  • 2022-01-25
  • 2021-07-22
  • 2021-10-10
  • 2022-02-07
  • 2021-09-21
相关资源
相似解决方案