标签:
var con_name = getQueryString("con_name"); //接收con_name
function getQueryString(value) {
var reg = new RegExp("(^|&)" + value + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]); return null;
}
con_name就是通过url传过来的值!!
标签:
原文地址:http://www.cnblogs.com/ITyouxiang1994/p/4264188.html