Home >Backend Development >PHP Tutorial >关于form表单验证未通过却提交的有关问题

关于form表单验证未通过却提交的有关问题

WBOY
WBOYOriginal
2016-06-13 10:36:251123browse

关于form表单验证未通过却提交的问题

HTML code
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><script language="JavaScript" type="text/javascript"> function chk_reg_input(form) {    if(form.userName.value==""){    alert("璇疯</script>
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