script type="text/javascript">
function myopen(){
alert("欢迎来到慕课网")
window.open("http://www.baidu.com","_blank","width=600px","height=400px")
}
function myopen(){
alert("欢迎来到慕课网")
window.open("http://www.baidu.com","_blank","width=600px","height=400px")
}
2015-05-14
最赞回答 / 不断滴自我催眠
因为你得到的是一个数组,因为只有一个b元素 所以应该取数组的第一个var oldnode=document.getElementsByTagName("b")[0];
2015-05-14