我写的代码是这样的,不对,谁帮我改一下
<form name="form" method="post" action="register.php">
<table>
<tr>
<td width="21%" height="18">
<div align="left">注册代号:</div>
</td>
<td width="79%" height="18">
<input type="text" name="username">
</td>
</tr>
<tr bgcolor="#E6FFFF">
<td width="21%" height="18">
<div align="left">密码:</div>
</td>
<td width="79%" height="18" bgcolor="#E6FFFF">
<input type="password" name="password">
</td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<input type=image src="images/queding.gif" name="submit" width="52" height="27" border="0">
<input type=image src="images/reset.gif" name="reset" width="62" height="26" border="0">
</div>
</td>
</tr>
</table>
</form>
<form name="form" method="post" action="register.php">
<table>
<tr>
<td width="21%" height="18">
<div align="left">注册代号:</div>
</td>
<td width="79%" height="18">
<input type="text" name="username">
</td>
</tr>
<tr bgcolor="#E6FFFF">
<td width="21%" height="18">
<div align="left">密码:</div>
</td>
<td width="79%" height="18" bgcolor="#E6FFFF">
<input type="password" name="password">
</td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<input type=image src="images/queding.gif" name="submit" width="52" height="27" border="0">
<input type=image src="images/reset.gif" name="reset" width="62" height="26" border="0">
</div>
</td>
</tr>
</table>
</form>
解决方案 »
- $.getJSON获取不了回调函数,没有返回值
- 请教:怎么让windows每隔一段时间执行一个php 程式?
- 非英文字符 asp MD5 加密 得到的结果和 php 的MD5 不一样
- 怎么才能在关闭(×)页面时自动注销
- 怎么样把扩展名php设置成html也能执行php程序啊?
- 建立php+apache+mysql环境的选择,手动还是Appserv
- 请教这样的正则应该怎么写?
- 使用com出错问题!?
- 哪位朋友有PHP4.2.0的PHP_ORACLE.DLL?
- 要在文本框内输入全角汉字与半角字符(还可能混合输入),请问如何控制字符个数?
- ★★求购办公自动化软件★★
- oracle的存储过程不能返回数据给php用么?
而确定按钮设置为submit属性,并将form的target属性设置为_blank
<form .... target="_blank">
<form name="form" method="post" action="register.php" target="_blank">
..........<input type=submit style="background-image:url(images/queding.gif);" name="submit" width="52" height="27" border="0">
<input type=reset style="background-image:url(images/reset.gif);" name="reset" width="62" height="26" border="0">
............
<input type=submit style="background-image:url(images/queding.gif);height:40px;width:100px;" name="submit" width="52" height="27" border="0">
<input type=image src="images/queding.gif" name="submit" width="52" height="27" border="0">
<input type=image src="images/reset.gif" name="reset" width="62" height="26" border="0">
改成这样
<input type=image src="images/queding.gif" name="submit" width="52" height="27" border="0" onclick="javascript:document.form.submit();">
<input type=image src="images/reset.gif" name="reset" width="62" height="26" border="0" onclick="javascript:document.form.reset();">
看是不是你想要的效果