IE9显示SCRIPT601:未知的运行时错误

时间:2012-10-23 06:59:28

标签: javascript jquery ajax

在IE9 for innerHTML中,它显示了SCRIPT601:未知的运行时错误

我插入的数据如下。所有标签都已关闭。我想表单标签会导致问题,但我想要它

 getHtmlStr='   <p></p>
    <div id="rs_div"></div>
    <form id="documentDetails" name="documentDetails"></form>
    <p></p>
    <div class="portlet magazines_details" id="magazines">
    <div class="content" id="doc_content">
    <div class="transcript" id="transcript">
    <div class="document-text">
    <p>Many people believe that a spin in a washing machine turns dirty clothes sparkly clean. Aarthi Shankar did too, until she came across a study by Charles Gerba, a microbiologist at the University of Arizona, which showed that household washers contain a shocking amount of bacteria.</p>
    <p>&nbsp;</p>
    </div>
    </div>
    </div>
    </div> ';

document.getElementById("notesdiv_"+html[i][0]).innerHTML = getHtmlStr;

“notesdiv _”+ html [i] [0]是某个div的id

0 个答案:

没有答案