It's not who you are underneath, it's what you do that defines you

摘要: 做一个触摸屏查询系统,要打开新页面后关闭父界面 百度之function openNewWindow() { window.open("Index.aspx", "", "left=30,top=30,toolbar=no,menubar=no,scrollbars=no,resizable=no,status=no,location=no,directories=no,copyhistory=no,height=620,width=820"); window.opener =null; window.open("" 阅读全文
posted @ 2012-06-14 23:03 金铭杰 阅读(7391) 评论(1) 推荐(0) 编辑
摘要: 方法一:正则分析法function getQueryString(name) { var reg =new RegExp("(^|&)"+ name +"=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); if (r !=null) return unescape(r[2]); returnnull; }这样调用:alert(GetQueryString("参数名1"));alert(GetQu 阅读全文
posted @ 2012-06-14 23:00 金铭杰 阅读(164) 评论(0) 推荐(0) 编辑

Brick walls are there for a reason :they let us prove how badly we want things