[jQuery] Content called using $().load() isn't displaying in IE (content contains an Iframe)
Hello,
I have some code that loads content into a div using the .load
function in jQuery. Now, the content that is pulled from the page is a
in a div and in one of the div's, I have an I frame. The code I have
works for FF Opera Safari but in IE the page doesn't do anything (Or
at least, Doesn't show anything)
Ideas Comments?
Code:
$('.ajax').bind("click", function(e) {
e.preventDefault();
var fileName = $(this).attr("href");
$('#content').fadeOut('slow',function(){
$(this).load(fileName+' #wrap', function(){
$('#content').fadeIn('slow');
});
});
});
the div id that is loaded is called wrap and the only page that gives
me a problem in IE is the one where wrap contains an iframe.