Resize iframe with jQuery

Hello Sitepoint,

I have a fairly straight-forward problem: I have a page which contains an iframe. Whenever I reload the page, I want the iframe to grow to fit it’s content’s new size.

I’ve been googling and searching around, but I can only find articles from 07-08. There has to be a better way nowadays.

Can anyone give me a hand?