jQuery .ajax method in IE7 & IE6 not working but working fine in Firefox

后端 未结 5 1090
情深已故
情深已故 2020-12-06 14:43

This relates to my previous post:

jQuery .load Method causing page refresh AJAX

I changed my implmentation to use the .ajax method instead of .load and it wo

5条回答
  •  我在风中等你
    2020-12-06 15:10

    Well the problem seems to be here:

    success: function(data){    
                alert(data);
                $(data).find('.benefitWrap').each(function(){
                    alert(data);
                    var $benefitWrap = $(this).html();
                    $('.benefitWrap').replaceWith($('
    ' + $benefitWrap + '
    ')); });

    The second alert never appears but the first does. I hate IE!

提交回复
热议问题