主要是如何 <弹出对话框功能的.>
<%@ page language="vb" debug="true" %>
我用的是vb,能否给我一个vb可运行的程序呀??if Label2.text<>"the email is ok" then
response.write("alert('ssssssssssss');window.location.href='http://findpwd.aspx'")
end if
此方法在编译时通过了.可为何不能弹出对话框呢.
<%@ page language="vb" debug="true" %>
我用的是vb,能否给我一个vb可运行的程序呀??if Label2.text<>"the email is ok" then
response.write("alert('ssssssssssss');window.location.href='http://findpwd.aspx'")
end if
此方法在编译时通过了.可为何不能弹出对话框呢.
解决方案 »
- asp.net验证控件和display的冲突
- 网站报错 帮忙看看是什么问题??
- 数据库查询参数出错.....必须声明变量
- .net 中有没有如何判断链接是一个网上地址,还是一个本地地址??
- datagrid隐藏列的值
- 急!怎样在运行时删除某个已有的控件?
- 每天更新显示格言的方法?重在参与,只有10分
- ASP.NTE跟ASP
- datagrid中超级模板列的响应事件如何写?急!!
- 真不明白现在vs.net都可以让Web 窗体页处于网格布局模式来布局了.还要以前的那种老模式干嘛?
- 关于弹出对话框问题,请各位高手帮忙一下,急急!!
- 各位大哥来帮忙看看这些问题如何解决??????谢谢了..........
response.write("<script>alert('ssssssssssss');window.location.href='http://findpwd.aspx';</script>")
END IF
error BC30081: “If”必须以匹配的“End If”结束。 if Label2.text<>"the email is ok" then
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:\FIRM\findpwdm2.aspx(189) : error BC30648: 字符串常数必须以双引号结束。response.write("<script>alert('ssssssssssss');window.location.href='http://findpwd.aspx';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
为何编译时,出错这样的错误??
改为这样后,还是不能实现弹出对话框的功能??
response.write("<script>alert('ssssssssssss');window.location.href='http://findpwd.aspx';</script>")
END IF
If Label2.text <> "the email is ok" Then
Response.Write("<"+"script>alert('ssssssssssss');window.location.href='http://findpwd.aspx';</"+"script>")
end if
END SUB