开发者

jquery not working in IE but fine in FF

开发者 https://www.devze.com 2022-12-24 23:49 出处:网络
This works p开发者_开发知识库erfectly in FF and Safari but not in IE... Here is the function: function my_totals(){

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

精彩评论

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

关注公众号