关于location的用法???
if request("del")<>"" then
conn.Execute("delete * from 公司信箱 where compname='"&user&"' and id="&request("id"))
response.write"email.asp?page="&request.querystring("page")
end if
中间:
<script language="javascript">
function confirmdel(id,page){
if (confirm("真的要删除这条信息?"))
window.location.href="email.asp?del="+id+"&page="+page;//这样不知对不对
}
</script>
下面:
<a href='javascript:confirmdel("<%=rs("Id")%>,<%=page%>")'>删除</a></td>
我主要是问:window.location.href后面如何有多少参数时如何添加呀,谢谢!!