<%@ page language="vb" debug="true" %>
<%@ Import NameSpace="System.Web.Mail" %>
......
if Label2.text<>"the email is ok" then
MessageBox("ssssssssssss")
end if if Label2.text<>"the email is ok" then
response.redirect("http://www.eing.com/findpwd.aspx")
end if
希望在跳转之前能够先弹出一个对话框..
<%@ Import NameSpace="System.Web.Mail" %>
......
if Label2.text<>"the email is ok" then
MessageBox("ssssssssssss")
end if if Label2.text<>"the email is ok" then
response.redirect("http://www.eing.com/findpwd.aspx")
end if
希望在跳转之前能够先弹出一个对话框..
Response.Write("<script>alert('"+es+"')</script>");
Response.Write("<script>window.open('"+es+"')</script>");
response.write("alert('ssssssssssss');window.location.href='http://www.eing.com/findpwd.aspx'")
end if
dim msg as string;
msg = "**************";
Response.Write("<script language=javascript>alert('"+msg+"');</script>");2.
Page.RegisterStartupScript("showmessage","<script language=javascript>alert('"+msg+"');</script>");
~~~
为何在编译时,语句后面的);</script>");不能正确实别出来呢???
response.write("alert('ssssssssssss');window.location.href='http://www.eing.com/findpwd.aspx'")
end if
此方法在编译时通过了.可为何不能弹出对话框呢.
{
page.RegisterStartupScript("","<script>alert('"+str_Message+"');location='"+jmp_web+"'</script>");
}
调用
Alert2("你好呀!","index.aspx",Page)
我用的是vb,能否给我一个vb可运行的程序呀??
主要是如何 <弹出对话框功能的.>
response.write("alert('ssssssssssss');window.location.href='http://www.eing.com/findpwd.aspx'")
end if
此方法在编译时通过了.可为何不能弹出对话框呢.
==========================
response.write括号里少了<script></script> 了