IE6-IE9不支持table.innerHTML的解决方法--终极解决办法

一、把要转译的内容放到其他属性中,例如“tt”

<p class="feedback_answer_content" tt='${feedInfo.feedback_answer}'></p>

二、取出来放到页面中

 window.onload = function(){
        $(".feedback_answer_content").each(function(index,element){
                $(this).html($(this).attr('tt'));
        });
    }

完美!!!!!!

原文地址:https://www.cnblogs.com/wangzhuxing/p/7886347.html