Posted by goliathuy on 07/11/06 22:01
HI.. i need some help, i'm working on a form and using the submit
button value to know when it has been submited... but the problem is
that when i press <enter> on the text field, the value do not come...
any clues?
Here is the fom code:
<form name="searchForm" action="search.php" method="post"
enctype="multipart/form-data">
<table width="1%" border=0>
<tr title="User name">
<tr>
<td></td>
<td rowspan="5">
<INPUT type="hidden" name="Op" id="Op"
value="p"/>
</td>
<td></td>
</tr>
<td align="left">
<label class="texto">User name:</label>
</td>
<td width="1%">
<input type="text" id="usrName" name="usrName"
tabindex="002" size="30" maxlength="60">
</td>
</tr>
<tr>
<td colspan="3" valign="middle" align="right">
<input type="submit" name="sent" id="sent"
tabindex="101"
value="Search" title="Search..."
class="submitBlue"/>
</td>
</tr>
</table>
</form>
[Back to original message]
|