Get Query String value using ECMA Script.
function getQueryStringValue(name) {
var queryStrJson = $.parseJSON("{\"" + window.location.search.substring(1).replace(/&/g, ",\"").replace(/=/g, "\":") + "}");
return queryStrJson[name];
}
Comments