So I have
$('.theiframe').load(function(){
var content = $(this.contentDocument).find('pre').html();
}
and in FF, Chrome, IE 8,9 the content of the iframe is inserted into variable content properly….but then when I use IE7, content will instead become ‘null’.
What should be done to properly get the iframe content and store it into a variable once the iframe is loaded?
Give the iframe a name and access it that way.