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

Popular posts from this blog

SPSiteDataQuery to get data from multiple lists in site collection level in sharepoint 2013

Some of the Share Point Object Which I Practiced Till Now

My Interview Experience