<Script language="Vbscript">
Function CheckSubmit(byVal userID)
Dim IsSure
IsSure = MsgBox("您确定要删除吗?",49,"删除")
If IsSure=1 Then
window.open "del.asp?userID=" & userID,"_self",""
End If
End Function
</Script><a href=# onclick="CheckSubmit(1)"></a>
Function CheckSubmit(byVal userID)
Dim IsSure
IsSure = MsgBox("您确定要删除吗?",49,"删除")
If IsSure=1 Then
window.open "del.asp?userID=" & userID,"_self",""
End If
End Function
</Script><a href=# onclick="CheckSubmit(1)"></a>
<a href="javascript:checkDele()">,checkDele()函数是这样写的:function checkDele(){
if (confirm('您确定删除表单吗?'))
window.location="unreferlistservlet?sbh=<%=sbh%>&refer=delete";
}
可是系统提示错误,请问这是为什么?
window.location="../../unreferlistservlet?sbh=<%=sbh%>&refer=delete";
这句话有错误,我觉得可能是sbh=<%=sbh%>有点问题,不知道是不是?