I´m trying to find working jquery script for setting iframe height equal to content height.
I found this:
$("#IframeId").load(function() {
$(this).height( $(this).contents().find("html").height() );
});
but is working only for old versions of jquery.
Any ideas for v3.3?