<SCRIPT>
function getUrlName(){var lsURL=window.location.pathname
loU = lsURL.split("\\");
return loU[loU.length-1];
}
alert(getUrlName());
</SCRIPT>
function getUrlName(){var lsURL=window.location.pathname
loU = lsURL.split("\\");
return loU[loU.length-1];
}
alert(getUrlName());
</SCRIPT>
var url = document.URL;
return url.split('\\').pop();
}
document.URL 没有分析 abc.asp?id=123 的挂尾串