jquery .html() does not work on ie8

后端 未结 7 708
耶瑟儿~
耶瑟儿~ 2021-02-04 05:48

I have a jquery function which makes an ajax call to a webservice method on the web server, the method returns a html table with data. I am using .html() to render the return va

7条回答
  •  醉酒成梦
    2021-02-04 06:06

    Have you tried setting data.d[1] to a variable and then adding it?

    For Example:

    if (data.d[0] == "true") {
         var results = data.d[1];
         $("#dvProudctInstruction").html(results);
    }
    

提交回复
热议问题