alert("这个函数")
用alert("")
js:
function showmsg(msg)
{
response.write ("")
}
vb:
function showmsg(msg)
response.write ""
end function
vbscript用
Window.Alert"提示内容"
<%
if request.Form("OK")="提交" then
if trim(request.Form("name"))<>"" then
'操作数据库
else
response.write ""
end if
end if
%>
都能用
js:
<%
function showmsg(msg)
{
response.write ("")
}
%>
vb:
<%
function showmsg(title,msg)
response.write ""
end function
%>
后面的这个纯vb的了,可以设置标题,不过前面还是有vbscript这个字样
阅读(5240) | 评论(0) | 转发(0) |