1

在 IE9 for innerHTML 中它显示 SCRIPT601: Unknown runtime error

我插入的数据如下。所有的标签都是封闭的。我猜表单标签引起了问题,但我希望它在那里

 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

4

0 回答 0