function AdjustHeight() {
parent.document.getElementById('ifrForms').style.height = document.body.scrollHeight + 5;
}
< iframe id="ifr" src="ifr.html">< /iframe>< br />
< input type="button" onclick="document.getElementById('ifr').style.height =
ifr.document.body.scrollHeight + 5" value="Ajust" />