Home  >  Article  >  Web Front-end  >  Use of submit_html/css_WEB-ITnose

Use of submit_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:12:001045browse

<form name="form3" id="" method="post" action="add.jsp">	 	<input id="dd" type="text" name="ana" />	 	<input id="dd" type="text" name="ano" />		<input id="dd" type="text" name="aqq" />		<input id="dd" type="text" name="aaddr"/>		<br>         <input type="submit" value="保存" name="b" > <input type="submit" value="查询" name="c" ><input type="reset" value="重写">         </form>

Click save to enter add.jsp. How to make the query click to enter fi.jsp.


Reply to discussion (solution)

44d79c7cbfd150dd90e842610df3f840Because you use The same submittype. . After clicking, only the action of the form will be triggered. . If you want to implement it, just use button. . Then write the method after clicking

606099f3ae4c0b109749f53b8817bf1a
2d2296c51036d34dafffe856a2ff0e6a
e2c4549305638a566efa338f4db50deb
c3725be095c294aa538c1d83153aca25
01c1473c1e423472d3b65e7f84c248f9
0c6dc11e160d3b678d68754cc175188a
8a40cf488b28059f3c07e17a1a25f493
270b752ccb2073a0c44a35f93f389d40
046c6376d6b522743b9aa7b57b50f6de
f5a47148e367a6035fd7a2faa965022e

Thank you very much!

606099f3ae4c0b109749f53b8817bf1a
a32e75f19559daefc357cfa78f1e3217
e2c4549305638a566efa338f4db50deb
6a876cdadf53e92db12a56db6e040e1d
561450d71cc4f134c684754c9d27a1cc


The query button should be button, there is no need to use submit

type=submit is to send the form
Submit uses form submission (form.submit()) as its default event after onclick

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