I have an iframe that has dynamic content. If the answers specific questions, additional information displays (hidden div becomes visible). I’d like the height of the iframe to expand. I know this question has been asked on here multiple times, but it seems like it is typically when a different page within the iframe is loaded, not when content is changed dynamically within the iframe.
Here is an example I tried to put together using jsFiddle:
iframe: http://jsfiddle.net/B4AKc/2/
page: http://jsfiddle.net/PmBrd/
Any ideas?
Does this work for you?
http://jsfiddle.net/PmBrd/1/
Code:
Since you mentioned they are in the same domain, it’s just a matter of doing something similar with your real app.