随笔分类 -  JAVASCRIPT

摘要:方法1 functiongetUrlParam(name){varreg=newRegExp("(^|&)"+name+"=([^&]*)(&|$)");varr=window.location.search.substr(1).match(reg);if(r!=null)returnunescape(r[2]);returnnull;}方法2 functionrequest(paras){varurl=location.href;varparaString=url.substring(url.indexOf("?&qu 阅读全文
posted @ 2011-05-21 22:13 melody&bobo 阅读(1237) 评论(0) 推荐(0)
摘要:ASP.NET如何輸出刷新父窗口腳本語句 1.this.response.write("<script>opener.location.reload();</script>");2.this.response.write("<script>opener.window.location.href=opener.window.location.href;</s... 阅读全文
posted @ 2009-11-24 17:40 melody&amp;amp;amp;bobo 阅读(425) 评论(0) 推荐(0)
摘要:[代码] 阅读全文
posted @ 2009-07-20 17:14 melody&amp;amp;amp;bobo 阅读(180) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2009-03-18 16:30 melody&amp;amp;amp;bobo 阅读(444) 评论(2) 推荐(0)
摘要:在运行该页面的时候,浏览器会给出不安全ActiveX控件的提示,并允许客户端禁止ActiveX控件的运行,并且,由于所用到的ActiveX控件仅被Internet Explorer支持,所以此方法也只能用在IE浏览器下. Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHig... 阅读全文
posted @ 2009-03-18 09:32 melody&amp;amp;amp;bobo 阅读(270) 评论(0) 推荐(0)