/* function to read value of the given key
, x, from querystring */
function GetQStringVal(x) {
var a = location.search.substring(1);
var b = a.split("&");
for (var i = 0; i < b.length; i++) {
var c = b[i].split("=");
if (c[0].toLowerCase() == x.toLowerCase())
{
return c[1];
}
}
return "";
}
No comments:
Post a Comment