// Create a new QueryString object
//alert( window.top.location.search.substring(1));
var qrStr = window.location.search;
var spQrStr = qrStr.substring(1);
var arrQrStr = new Array();
// splits each of pair
var arr = spQrStr.split("&");
for (var i=0;i
var index = arr[i].indexOf("=");
var key = arr[i].substring(0,index);
var val = arr[i].substring(index+1);
// saves each of field-value pair in an array variable
arrQrStr[key] = val;
}
alert("Parameter:" + arrQrStr["company"]);
script
you just change the name of the paremeter in the alert('Parameter Name: '+ arrQrStr["company"]);
Here it is Company
Thanks,
Nitin Sharma