ohdang888 Posted January 9, 2011 Share Posted January 9, 2011 I am using this code to load content through ajax jQuery('#ajaxResult').load('getEditor.php?business_id=' + business_id + '&page_id=' + page_id +"&num=" + Math.random()*99999, function(responseText, textStatus, XMLHttpRequest){ alert(responseText); }); Now, this works perfectly in all versions of firefox and safari. BUT, in IE 8 (only IE i've looked at so far), its only inserting like half of the returned html into the DOM. Yet, i know its loading all the appropriate html that it should, becasue the alert(responseText); is showing the same exact code as firefox and safari any ideas? Thanks Link to comment https://forums.phpfreaks.com/topic/223896-jquery-load-issue/ Share on other sites More sharing options...
Omirion Posted January 12, 2011 Share Posted January 12, 2011 I have no idea. But you can always hack it. Make the request. get the data. And display with innerHTML = data. More actions but will work i suppose. Or add a check that if(IE){ do ^ )else(do you thing). That way you'll lower the load on FF and Safari and only do the ++ actions on IE users. PS: What HTML does it fail to load exactly? Link to comment https://forums.phpfreaks.com/topic/223896-jquery-load-issue/#findComment-1158142 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.