为什么在记事本中打出来,不显示修改后的内容
<script type="text/javascript">
var mychar=document.getElementById("c");
document.write("原语句:"+ mychar.innerHTML +"</br>");
mychar.innerHTML = "MMMyes";
document.write("修改后语:"+ mychar.innerHTML);
</script>
</head>
<body>
<p id="c">获取存储在变量mychar中的元素</p>
</body>