摘要:
方法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 阅读全文