关于处理注册表单的问题! if(document.formName.newPwd.value==ment.formName.oldPwd.value) alert("一致")2,提交到服务器进行比较select * from tableNae where passwrod='xxxx 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 1<script language=javascript>function is(form1){if(form1.pass1.value!=form.pass2.value){alert("密码不一样");return false;}else{return true;}}</script><form action=xxx.php method=post onsubmit="return is(this)" name=form1>1密码<input type=password name=pass1><br>2密码<input type=password name=pass2><input type=submit value=send></form>2select * from tablename where name='name' 关于CURL 为何PHP中用HTTP_X_FORWARDED_FOR取不到内部网IP了? iconv 不能转换特殊字符的问题 apache访问量大了,数据库连接失败? 关于无返回值函数的问题...在线等.. 几个小问题? 请问一个正则表达式的匹配 中国色网,做美工的同志可以进来看看! 我使用gethostbyaddr()函数来查看用户机器名称为什么不行? 高手請指教!!我怎樣在win98 pws下安裝php4 请大家帮忙看看,为什么提交不过去!!!??? php聊天室在我的机子上不能正常使用?
<script language=javascript>
function is(form1){
if(form1.pass1.value!=form.pass2.value){
alert("密码不一样");
return false;
}
else
{
return true;
}
}
</script>
<form action=xxx.php method=post onsubmit="return is(this)" name=form1>
1密码<input type=password name=pass1>
<br>
2密码<input type=password name=pass2>
<input type=submit value=send>
</form>
2
select * from tablename where name='name'