1. JAVAWEB 两个提交按钮代码怎么写
<tr>
<td height="28" align="right"><label>
<input type="button" value="增加新宠物" onclick="location.href='/WebModule1/petservlet?newpet=newpet';" />
</label></td>
<td><label>
<input type="button" onclick="location.href='/WebModule1/petownerservlet?new=new';" value="增加新所有人"/>
</label></td>
</tr>
2. 提交按钮怎么加超链接
提交按钮type为submit,是提交表单元素的,在form的action属性中可以设置要提交的网页如 而如果只是给一个按钮做超链接,点击该按钮后,直接跳转到另外一个网页,那么除了上面朋友说的方法,通过input 的onlick属性实现外,你还可以用a连接网上有很多按钮素材,找个作为它的背景,这样看上去他就是个按钮了。
3. 表单中的提交按钮submit的代码要怎么写呢
html xmlns=headmeta ; charset=utf-8 /title提交按钮/title/headbodytable width=100% cellspacing=0 cellpadding=0 tr tdform action=mailto:weixiaofoxw。
com name=form1 method=post enctype=application/x-www-form-urlencodedtarget=_blank p用户名 : input name=textfield type=text size=20 maxlength=15 / /p p密码: input name=textfield2 type=password value=abcdef size=25 maxlength=6 / /p p性别 : input name=radiobutton type=radio value=radiobutton checked=checked /男input type=radio name=radiobutton value=radiobutton /女 /p p input type=submit name=button value=提交 /p /form/td /tr/table/body/html。