blog.programfan.info
新网站即将启用
1、document.open() 打开一个新的空白文档,在IE下,open有两个默认参数,相当于document.open("text/html",'""),第二个参数只有一个值可选:replace,如果启用了该值,则新建的文档会覆盖当前页面的文档(相当于清空了原文档里的所有元素,且不能后退即,浏... Read More
posted @ 2010-12-29 16:36 Gordon Chao Views(157) Comments(0) Diggs(1) Edit
1、navigator.userAgent Chome:"Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10" ... Read More
posted @ 2010-12-29 16:13 Gordon Chao Views(153) Comments(0) Diggs(0) Edit
1、把页面地址转化为key-value数组 function urlToParams(s){ if (typeof s == "undefined") { return; } var urlMap = s.split("&"), map = []; if (null != u... Read More
posted @ 2010-12-29 14:48 Gordon Chao Views(157) Comments(0) Diggs(0) Edit
www.programfan.info
新网站即将启用