您的位置:首页 > 其它

Get the parameter from the URL

2007-02-01 16:12 423 查看
1<script language="JavaScript">
2sUrl = location.search;
3sIndex = sUrl.indexOf("?url=");
4if( sIndex != -1 )
5</script>

The method can get the one parameter of the URL only, you can write additional code to seprate the parameters.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: