开发者

jquery not working in IE but fine in FF

This works p开发者_开发知识库erfectly in FF and Safari but not in IE... Here is the function:

  function my_totals(){
 $.ajax({
     type: "GET",
     url: "ajax.php",
    data: "action=my_items",
    success: function(data){
      $("#usage").html(data);
     }
 });
}


You can look here

Karl Swedberg said:

one possibility is that you're trying to inject invalid markup with .html(). I noticed this causing problems with a plugin I wrote. For example, inserting something like <div>this is a div with no closing div tag caused IE to churn

Also see this post

I hope it helps you...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜