jqueryexample.com jquery -dynamic iframe height - jqueryexample.com

jquery -dynamic iframe height by jqueryuser

Below is the example  to resize the height of the parent iframe so that it doesn’t show a scrollbar.

$(function () {
var docHeight = $(document).height();
$('#myIframe', window.parent.document).height(docHeight);
});
Did you like this? Share it:

Discussion

  1. Mika Meeuwsen says:

    jquery-dynamic-iframe-height pretty good example

Leave a Comment