代码如下:[removed] //取得传值的函数 function QueryString(qs) { var s = location.href.replace(“?”,”?&”).split(“&”); var re = “”; for(i=1;i<s.length;i++) (s[i].indexOf(qs+”=”)==0)&&(re=s[i].replace(qs+”=”,””)) return re; } [removed]