随笔分类 - 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
阅读全文
摘要: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...
阅读全文
摘要:在运行该页面的时候,浏览器会给出不安全ActiveX控件的提示,并允许客户端禁止ActiveX控件的运行,并且,由于所用到的ActiveX控件仅被Internet Explorer支持,所以此方法也只能用在IE浏览器下. Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHig...
阅读全文
浙公网安备 33010602011771号