ASP怎样实现弹出消息窗口
时间:2008-12-21 来源:白月人
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这个字样
用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这个字样
相关阅读 更多 +
排行榜 更多 +