已采纳回答 / sixGod
在跳转之前,你的脚本并不会停止,所以就算window.location.assign("http://www.imooc.com");执行了,也不是马上就跳,所以后面的代码还是会执行的,浏览器也是要反映时间的
2015-01-28
最新回答 / qq_嫵钶取玳_0
你这段代码没有用var node = document.getElementsByTagName(temp);for(i=0;i<node.length;i++){ var myvalue=node.lastChild.innerHTML; document.write(myvalue); if(myvalue=="HTML/CSS"){ document.write(myvalue+"<br/>"); }}真正执行的输出的代码只有document....
2015-01-27
已采纳回答 / _Exception
小曼:76; var scoreArr=scoreStr.split(";"); for(var i=0;i<scoreArr.length-1;i++)
2015-01-27