<div id=”wtf”>WTF???</div>
<script type="text/javascript" language="javascript">
$(document).ready(function(){
$("div#wtf").load("/home.html",function(responseText){
alert(responseText);});
});
</script>
It works fine in FF but not in IE, the thing is in Fiddler, I see the get
happen and the text from the page is being returned, as well as the alert
shows the page contents, I am at a loss. On the page, this is set to run to
on page load or when document is ready / dom ready… The alert shows the
response as it should and the div text is replaced on load although its
blank.
Any ideas or ways for me to troubleshoot this further?
Thanks in advance!
--
View this message in context:
http://www.nabble.com/%24%28-divid%29.load%28%22page.html%22%29-not-loading-in-IE-6-or-7-works-fine-in-FF-tp16982930s27240p16982930.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.