摘要: nodeName,nodeValue 使用时脚本需要写在元素之后,才能正确执行,比如: 如果前面就会报错: Uncaught TypeError: Cannot read property 'firstChild' of null <p id="demo">hello world!</p><scri 阅读全文
posted @ 2016-05-13 11:37 NULL_1 阅读(133) 评论(0) 推荐(0) 编辑