标签:os io for cti ar new amp window
window.location.href = "Index.aspx"; 当前页面打开
window.open("Index.aspx") 打开新页面
url传参 ResourceEdit.aspx?IsManager=1&ID=2
获取url参数 request("IsManager")=1 function request(strParame) { var args = new Object(); var query = location.search.substring(1); var pairs = query.split("&"); for (var i = 0; i < pairs.length; i++) { var pos = pairs[i].indexOf(‘=‘); if (pos == -1) { continue; } var argname = pairs[i].substring(0, pos); var value = pairs[i].substring(pos + 1); value = decodeURIComponent(value); args[argname] = value; } return args[strParame]; }
标签:os io for cti ar new amp window
原文地址:http://www.cnblogs.com/huweijun/p/3880014.html