Skip to content

Instantly share code, notes, and snippets.

@mjj2000
mjj2000 / gist:5081427
Created March 4, 2013 10:42
Use jQuery to adjust height of iframe according to height of content
// execute script inside iframe
$('#iframe', parent.document).height($(document.body).outerHeight());