摘要: 1. 呈现模式document.compatMode == "CSS1Compat"; 标准模式document.compatMode == "BackCompat"; 混合模式if(document.compatMode == "CSS1Compat"){ return "SATAND";}... 阅读全文
posted @ 2015-01-05 17:24 lcw5945 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 特点:1. nodeType 的值为1.2. nodeName 的值为元素的标签名(大写);3. nodeValue 的值为null.4. parentNode 可能是Element、Text、Comment、ProcessingInstruction、CDATASection、EntityRefe... 阅读全文
posted @ 2015-01-05 14:33 lcw5945 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/gueter/archive/2007/03/08/1524447.aspx引言HTTP是一个属于应用层的面向对象的协议,由于其简捷、快速的方式,适用于分布式超媒体信息系统。它于1990年提出,经过几年的使用与发展,得到不断地完善和扩展。目前在WWW中... 阅读全文
posted @ 2015-01-05 09:44 lcw5945 阅读(169) 评论(0) 推荐(0) 编辑
摘要: //获得urlvar url = document.URL;//获得域名var domain = document.domain;//取得源页面的urlvar referrer = document.referrer;1. 对domian赋值不能跨域比如在show.17173.com;documen... 阅读全文
posted @ 2015-01-05 09:41 lcw5945 阅读(109) 评论(0) 推荐(0) 编辑