开发者

iframe dynamic height adjust

开发者 https://www.devze.com 2023-03-19 13:34 出处:网络
I am trying to adjust the heig开发者_JAVA技巧ht of the iframe when a user checks an input box (the checked input box expands a list).I can not use ajax as a solution.This has to be done from the ifram

I am trying to adjust the heig开发者_JAVA技巧ht of the iframe when a user checks an input box (the checked input box expands a list). I can not use ajax as a solution. This has to be done from the iframe and not the parent.


Within the iframe, you can call a function on the page hosting the iframe:

parent.adjustIFrameHeight();
0

精彩评论

暂无评论...
验证码 换一张
取 消