最近做個頁面
代碼如下:
<script language = javascript>
function request(paras){
var url = location
var paraString = url
var paraObj = {}
for (i=
paraObj[j
}
var returnValue = paraObj[paras
if(typeof(returnValue)=="undefined"){
return "";
}else{
return returnValue;
}
}
var theurl=request(
var theimg=request(
document
</script>
最主要的是用到了
代碼如下:
function request(paras){
var url = location
var paraString = url
var paraObj = {}
for (i=
paraObj[j
}
var returnValue = paraObj[paras
if(typeof(returnValue)=="undefined"){
return "";
}else{
return returnValue;
}
}
這個函數
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20018.html