P
PSA
if a form just has one input tag of the type TEXT and a non-submit
button. Key press enter in the text field will still submit the
request, If add another input type TEXT it will not exhibit this
behavior
any thoughts/poiners why ?
PSA
Following is the javascript code which i tried
<HTML>
<BODY>
<FORM METHOD=POST NAME="Container0" id="Container0" >
<TABLE cellspacing="0" cellpadding="3" border="0" width="580">
<TR>
<TD align="left" valign="middle">
<input type="TEXT" id="TextEntry3" tabindex="3" maxlength="64"
size="20" value="" name="TextEntry3" />
</TD>
</TR>
<TR>
<TD align="left" valign="middle">
<INPUT TYPE=BUTTON NAME="SAVE" VALUE="Save Changes" tabIndex="4"
id="SAVE" />
</TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>
button. Key press enter in the text field will still submit the
request, If add another input type TEXT it will not exhibit this
behavior
any thoughts/poiners why ?
PSA
Following is the javascript code which i tried
<HTML>
<BODY>
<FORM METHOD=POST NAME="Container0" id="Container0" >
<TABLE cellspacing="0" cellpadding="3" border="0" width="580">
<TR>
<TD align="left" valign="middle">
<input type="TEXT" id="TextEntry3" tabindex="3" maxlength="64"
size="20" value="" name="TextEntry3" />
</TD>
</TR>
<TR>
<TD align="left" valign="middle">
<INPUT TYPE=BUTTON NAME="SAVE" VALUE="Save Changes" tabIndex="4"
id="SAVE" />
</TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>