55555555555
摘要: document.all用法: 弹出的提示是 0HTML 1HEAD 2TITLE 3BODY 4! 5SCRIPT 原来html、head、title、body这些标签是默认就有的,不管你写的代码里有没有。 document.getElementById... 阅读全文
posted @ 2009-04-30 09:24 →澎湃动力↘ 阅读(1401) 评论(0) 推荐(0) 编辑
摘要: innerHtml 和 innerText 用法: test1 test2 在JS中可以使用: test.innerHTML: 也就是从对象的起始位置到终止位置的全部内容,包括Html标签。 上例中的test.innerHTML的值也就是“test1 test2 ”。 test.innerText: 从起始位置到终止位置的内容, 但它去除Html标签 上例中... 阅读全文
posted @ 2009-04-30 09:20 →澎湃动力↘ 阅读(235) 评论(0) 推荐(0) 编辑
4444444444444