script
url = location.search.substr(1);
if(url.length 0)
{
ar = url.split(/[&=]/);
for(i=0;iar.length;i+=2)
{
alert("参数:"+ar[i]+":"+ar[i+1]+"br");
}
}
/script
a href='?a=你好&room=awe'test/a[ 查看全文 ]