js error
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>即可
每天进步一点点