为什么改变属性后 结果还是javascript
var mychar= document.getElementById("con");
document.write("原标题:"+mychar.innerHTML+"<br>");
mychar.innerHTLM="Hello World";
document.write("修改后的标题:"+mychar.innerHTML);
var mychar= document.getElementById("con");
document.write("原标题:"+mychar.innerHTML+"<br>");
mychar.innerHTLM="Hello World";
document.write("修改后的标题:"+mychar.innerHTML);
2020-02-17
举报