I am using jQuery to control the height of an iframe.
jQuery(\"iframe\",top.document).contents().height();
This works when the height of
This is a simple jQuery that worked for me. Tested in iExplorer, Firefox and Crome:
$('#my_frame').load(function () { $(this).height($(this).contents().find("html").height()+20); });
I add 20 pixels just to avoid any scroll bar, but you may try a lower bound.