var src_value = document.getElementById('').src;
arrys = src_value.split("?");
var PlanProjectNameID = GetQueryStringVar(arrys[1], "PlanProjectNameID");
function GetQueryStringVar (obj,name) {
var result = obj.match(new RegExp("" + name + "=([^\&]+)", "i"));
if (result == null || result.length < 1) {
return "";
}
return result[1];
}
//直接获取url的参数
function GetQueryString(name)
{
var result = location.search.match(new RegExp("[\?\&]" + name + "=([^\&]+)", "i"));
if (result == null || result.length < 1) {
return "";
}
return result[1]
}