javascript
<script>
function QueryString(item){
var sValue=location.search.match(new RegExp("[\?\&]"+item+"=([^\&]*)(\&?)","i"))
return sValue?sValue[1]:sValue
}
alert(QueryString("id"))
alert(QueryString("lp"))
alert(QueryString("DaysPrune"))
</script>
时间: 2024-12-28 14:10:25