form 提交 验证问题
比如
<script><br />
function add(){<br />
var call= $("#call").attr("value");<br />
if(call== ""){<br />
alert("NO");<br />
return false;<br />
}<br />
}<br />
<br />
</script>
---------------------------------------------------------
我的问题是,这样实现提交form 表单的时候先js 验证是否为空,然后在跳到后台去验证。
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn