Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.