hitting "enter"

eramgarden

Contributor
Joined
Mar 8, 2004
Messages
579
I have a page with 2 buttons, "Find" and "Refresh"...

on my laptop, when I hit "enter", the "Find" button is activated...

On my manager's machine, when he hits "enter", nothing happens,,,

Not sure how to debug this..is it his browser version??
 
I'm not sure but I don't think it's his browser version, although I've been known to be wrong MANY times before. :) Perhaps if you do some Javascript to handle the issue, it will no longer be a question of the browser version.
.................................................................................
<script language="javascript">
var control = document.getElementById(<control name>);
if( control != null ){ control.focus(); }
</script>
.................................................................................

Perhaps using this Javascript when the page loads will automatically set focus on that Find button, and despite the browser version, pressing the Enter key will register a button click. Hope this helps!
 
Back
Top