Jump to content

jquery load issue


ohdang888

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.