标签:ar java sp div c html r javascript htm
0x800a0259 - JavaScript 运行时错误: 未知的运行时错误
<p id="navigatorInfo"></p>
var txt = "<p>Browser CodeName:" + navigator.appCodeName + "</p>";
txt += "<p>Browser Name: " + navigator.appName + "</p>";
document.getElementById("navigatorInfo").innerHTML = txt;
原因:p中不能包含p标签,将<p id="navigatorInfo"></p>改为 <div id="navigatorInfo"></div>即可
标签:ar java sp div c html r javascript htm
原文地址:http://www.cnblogs.com/miraclesakura/p/3998658.html