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传过来的值!!
时间: 2024-11-03 02:10:14