eramgarden Posted August 10, 2004 Posted August 10, 2004 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?? Quote
Daspoo Posted August 11, 2004 Posted August 11, 2004 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! Quote 3,450,897,223 posts away from crazy...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.