Posted by zazzaron@cox.net on 12/20/05 18:39
Does anyone know why Safari browser does not submit on the enter key.
Here's the asp page - its very simple. I click on the radio button then
hit enter - no submit. If my focus is on a textbox all works fine.
<HTML>
<HEAD>
<TITLE>enter test</TITLE>
<script language="javascript">
function validate()
{
alert('validate');
return true;
}
</script>
</HEAD>
<form name="form1" id="form1" method="post" onSubmit="return
validate()">
<input type="radio" name="Amt" id="Amt">
<font>Pay Total Amount</font>
<input type="text" name="textfield2" size="12" >
<input type="text" name="textfield1" size="12" >
<input type="submit" id="xsubmit" name="xSubmit" value="Submit
Payment">
</form>
</CENTER>
</BODY>
</HTML>
Navigation:
[Reply to this message]
|