|
Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006
How to help : before removing any hint as to whether or not to delete the option!
I was a novice, he has written a simple website deleted, but not delete the suggested deletion, please help me increase crop before removing any hint as to whether or not to delete window code ** ** Thank you!
<%
If session ( "logined") then =false
Resopnse.redirect (login.asp)
End if
Dim rs =
Dim sgl
Name=request ( "name")
Set rs=server.createobject ( "adodb.recordset")
Sql= "select * from [where name="_ftn1" '" + name + "'"
Rs.open sgl, conn,3,3
Rs.delete
Rs.close
Set rs=nothing
Conn.close
Set conn=nothing
Response.redirect ( "user.asp")
%> |
"Script language=" JavaScript "type=" text/JavaScript ""
Check_del function ()
{
If (!confirm ( "determined to remove? "))
Window.event.returnValue=false;
}
"/script>
Form Lane onSubmit= then "return check ()", as follows
"Form action=" "method=" post "name="_ftn1"" form1 "filled="f"" form1 "onSubmit=" return check (), "" |
No "form>, but directly :" a style='mso-footnote-id:ftn1' "del.asp?name=rs name" epileptic delete this user "</a> Can there are other ways? |
Following a search prior to the proposed landlord is closed on weekends and on United Nations holidays, the problem occurred several times ~~~~~~~
Following is one solution :
-----------------------------------------------------------------------------------------------------------------
"Script language=" JavaScript1.2 ""
<!--
Confirm_delete function () (
If (confirm ( "really be deleted? ")) (
Return true;
}
Return false;
}
//-->
"/script>
"A style='mso-footnote-id:ftn1'" users.asp?del=<%=rs ( "id") vascular "onClick=" return confirm_delete () "and" delete "</a> |
^v^ Sorry! |
|