-
"msgbox ""The account is already in use"""
You can't use single quotation marks, but double quotation marks.
-
dim myvar
myvar = msgbox ("You have made a mistake, please fill it in again", 1, "msgbox example")
Instead. "alert('You have made a mistake, please fill it in again');'';
-
This ** is run on the client side, and this error occurs when there is no box on the server side.
If you don't believe me, you can try again. The eighth-level guy above is definitely not programmed.
-
var a=confirm(''...
where a is the return value, which should be the value you need.
-
Brother, one of you has server-side execution, and the other is client-side execution.
You can't design it that way.
It is recommended that you set a JS verdict when you want to delete a record commit.
As. onclick='return confirm("Are you sure you want to delete this classification (unrecoverable)? "Delete.
Add the above ** to the place where you want to submit for deletion, but some places need to be modified.
-
user=session("dkrsguestbook")c="msgbox('Are you sure you want to delete? ',1,'Delete confirmation')"
if user<>"liyuanlin" thenif c=1 then
id=request("id")
set conn=nothing
elseend if
end if
-
I've seen your **,It seems that you want to judge whether it's a designated user first.,If not, jump to.,If so, ask whether to delete the record.,Confirm the deletion and then jump to the delete action.,Otherwise, don't perform the delete action and jump directly.。
Your approach, as mentioned on the first floor, confuses the client and the server, and the two C variables cannot be called directly. I'll show you one.
Delete. above"ifdel(12)"The 12th is the ID number you want to remove.
Create another file with the following content:
user=session("dkrsguestbook")if user<>"liyuanlin" thenelseid=request("id")
set conn=nothing
-
The landlord can replace that script** with this:
You can achieve the effect you want.
-
In general, the pop-up prompt looks like this.
sub myproc()
end sub
-
You're confusing asp with js, first of all, asp generally doesn't have access to js** variables. Because JS is the front-end, and ASP is the server-side. But JS has access to variables in asp as follows:
name="xiangzhanyou"%>
Hope mine can help you!
The functions you want are all here, I won't list the specific syntax, you can go to the Internet to find the relevant usage. >>>More
The REPLACE in asp means: [count] replace; DOS External Commands: Supersede or Update Files!
ASP is an abbreviation for ActiveServerPage, which means "Active Server Web Page". ASP is an application developed by Microsoft to replace CGI scripting programs, which can interact with databases and other programs, and is a simple and convenient programming tool. The format of the asp web page file is: >>>More
1.First, find out which two squares of the square number you want to open. >>>More
Landlord Your fault should be here:
now()&"'If you have a SQL database, use gedate(). >>>More