How would I add a delete confirmation popup box for the following?
Here's what I have... A table (not a form) that contains this line:
<td align="center"><a
href="delete.asp?username=<%=rsUsers("username")%> &startletter=<%=startlette
r%>">Delete user</a></td>
And delete.asp looks like this...
----------------------------------------------
<%
Option Explicit
Dim username,rsDelete,startletter
startletter = Request.QueryString("startletter")
if Session("fewmetadminlogin") = "True" then
username = Request.QueryString("username")
%>
<!--#include file="../includes/conn.asp"-->
<%
set rsDelete = conn.Execute("DELETE * FROM users WHERE username = '" &
username & "'")
conn.close
set conn = nothing
end if
Response.Redirect("default.asp?startletter=" & startletter)
%>
---------------------------------------------
--
Posted 'as is'. If there are any spelling and/or grammar mistakes, they
were a direct result of my fingers and brain not being synchronized or my
lack of caffeine.
Mike Brearley