提交表单的几种判断方法()
来源:互联网 发布:日语杂志 知乎 编辑:程序博客网 时间:2024/05/21 10:43
<!--
function xxg()
{
if (frm.t11.value=="")
{
alert("简介");
return false;
}}
//-->
</script>
</head>
<form method="POST" action="" onsubmit="return xxg();" name=frm>
<p><input type="text" name="t11" size="20">
<input type="submit" value="提交">
<input type="reset" value="重置" name="B2"></p>
</form>
----------------------------------------------
<script LANGUAGE="JavaScript">
function checkp()
{
if (document.Formp.t11.value=="")
{
alert("请输入注册的企业全称!")
document.Formp.t11.focus()
document.Formp.t11.select()
return
}
document.Formp.submit()
}
</SCRIPT>
<form method="POST" action="" name=Formp>
<input type="text" name="t11" size="20">
<input type="button" value="按钮" onclick="checkp()">
</form>
-------------------------------------------
<% P_password="12344"%>
<%
password=request.form("password")
if Request("password")<>"" then
if password=P_password then
session("logpassword")=password
session("fz_login") = "8"
response.write "你是神"
'response.end
else
%>
<script language=Javascript>
alert("错误!麻烦你认真一点,请重新输入!");
window.history.go(-1);
</script>
<%
end if
else
%>
<form method="post" action="rar.asp" name="form">
<input type="text" name="password" size="20">
<input type="submit" value="提交">
</form>
<% end if%>
- 提交表单的几种判断方法
- 提交表单的几种判断方法()
- html表单提交的几种方法
- 表单的提交几种方法
- html表单提交的几种方法
- form表单提交的几种方法
- form表单提交的几种方法
- html 表单提交的几种方法
- javascript 表单提交的几种方法
- html表单提交的几种方法
- form表单提交的几种方法
- 提交表单的几种方法。
- form表单提交的几种方法
- html 表单提交的几种方法
- form表单提交的几种方法
- form表单提交的几种方法
- form表单提交的几种方法
- 提交表单的几种方法
- Spring的相关概念
- 随机提取N条记录
- 编程规范和范例(摘自华为的编程规范)
- ASP中几个有用的函数
- 深入浅出之正则表达式(一)
- 提交表单的几种判断方法()
- Socket
- ORACLE SQL性能优化系列(1)
- Windows下打造完美的服务器平台(APACHE+JSP+CGI+PHP+ASP+MYSQL)
- 我的实用代码收集
- 移植IPV4应用程序至IPV6至少需要完成的工作
- ASP数据库简单操作教程
- ORACLE SQL性能优化系列(2)
- 改善命运的十六个妙方