Answers
<form action="https://www.baidu.com/s" method="GET" name="hello" id="world">
<input type="text" name="wd" value="Hello" >
</form>
<hr/>
下面的是在表单外面的...
<input type="submit" onclick="document.forms['hello'].submit();" value="提交1" />
<input type="submit" onclick="document.forms['world'].submit();" value="提交2" />
ajian2k
answered 9 years, 6 months ago