Home > Backend Development > PHP Tutorial > 不太熟悉PHP编程,为什么总报缺少‘)’异常

不太熟悉PHP编程,为什么总报缺少‘)’异常

WBOY
Release: 2016-06-13 11:30:40
Original
690 people have browsed it

不太熟悉PHP编程,为什么总报缺少‘)’错误?
劳大家帮我看看,为什么总是报if(form1.2_ytbyx.value==""){错误,说缺少‘(’?万分感谢!

            <input type="button" name="Submit" value="提交" onClick="process() "></td><br />      <script>	<br />				function process(){<br />      				<br />				//alert("开始检验!");<br />					if(form1.2_ytbyx.value==""){<br />						alert("您所输入的分值不能为空!");<br />						form1.2_ytbyx.select();<br />					}else if(checkscore20(form1.2_ytbyx.value)!=true){<br />						alert("您输入的分值不正确!当前分值不应超过20分!");<br />						form1.2_ytbyx.select();<br />						return(false);<br />						}else{	<br />						var ytbyx = parseInt(document.getElementById("2_ytbyx").value);<br />						//alert("您输入的数值通过检验!请确认!");<br />					}<br />
Copy after login

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template