下一站天后

今朝的容颜老于昨晚

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2009年2月5日

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 区别:setTimeout("function",time);//设置一个超时对象,只执行一次,无周期 setInterval("function"... 阅读全文
posted @ 2009-02-05 17:23 孙雅玲 阅读(643) 评论(1) 推荐(0)

摘要: FileStream fs = new FileStream(url, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); StreamReader sr = new StreamReader(fs, System.Text.Encoding.Default); 阅读全文
posted @ 2009-02-05 17:09 孙雅玲 阅读(1181) 评论(0) 推荐(0)

摘要: function GetQueryString(name) { var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r!=null) return unescape(r[2]); return null; } 阅读全文
posted @ 2009-02-05 16:56 孙雅玲 阅读(920) 评论(1) 推荐(0)