<iframe width="608" frameborder="0" id="mainframe" name="mainframe" onload="$(this).height($(this).contents().height());" src="mindex/forratt.php" scrolling="no" /></iframe>
So I have written this code to automatically adjust the iframe to its content and it works fine.
The thing is that when I access a page with a lower height, the height from the previous page stays put. I want it to automatically adjust to the height of the new page.
How do I make that happen? Give me some pointers please! <3