Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有 iframe 的页面,当用户从单选列表中选择任何选项时,它应该动态调整大小。
我找到了一些动态调整 iframe 父窗口大小的解决方案,但我还没有找到如何将该事件绑定到没有提交按钮的表单上的单选按钮。
有人有想法么?
$('input:radio').change( function(){ //change iframe height here } );