摘要: 方法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 阅读(1234) 评论(0) 推荐(0) 编辑