Control iframe height with jQuery

后端 未结 9 1763
情书的邮戳
情书的邮戳 2020-12-13 07:32

I am using jQuery to control the height of an iframe.

jQuery(\"iframe\",top.document).contents().height();  

This works when the height of

9条回答
  •  难免孤独
    2020-12-13 07:45

    If the iframe source is a different domain than its parent, then you will probably need to use easyXDM.

提交回复
热议问题