var id;
function getid()
{
var url=location.search;
var Request = new Object();
if(url.indexOf("?")!=-1)
{
var str = url. substr(1) //Remove the ? number
strs = str.split("&");
for(var i=0;i{
Request[ strs[i].split("=")[0]]=unescape(strs[i].split("=")[1]);
}
}
id=Request[" id"];
document.getElementById('td_fa').innerHTML=id "Page information";
}
This is easy to handle. . . Just pass the parameter "http://www.aaa.html?id=1" as in .net.