As i need only id i had modified the javascript in this way but i am not getting any id as alert though i had used id i am vey new to this can anyone help me out
<script type="text/javascript">
var queryString = new Array();
$(function () {
if (queryString.length == 0) {
if (window.location.search.split('?').length > 1) {
var params = window.location.search.split('?')[1].split('&');
for (var i = 0; i < params.length; i++) {
var key = params[i].split('=')[0];
var value = decodeURIComponent(params[i].split('=')[1]);
queryString[key] = value;
}
}
}
if (queryString["ID"] != null) {
var data = "<u>Values from QueryString</u><br /><br />";
data += "<b>ID:</b> " + queryString["ID"];
alert(data);
//$("#lblData").html(data);
}
});
</script>