Hi,what i want is that when a user presses ENTER key the focus goes to the next control in FireFox.
If you press the TAB key in any page, you will see that the focus moves from control to control, i want to do that when a user presses the ENTER key. In IE i can capture the keyCode, i can see if its value is 13 (thats ENTER) and edit its value by a 9(thats TAB), so that i can then return the keyCode.
Example:if (event.keyCode= =13) {event.keyCode= 9;...
User Profile
Collapse
-
yet, if i have window.addEvent Listener("keydo wn", Test, false); and the following, i cant throw a TAB action.
Any hints? Thanks.Code:function Test(evt) { var keynum; keynum = evt.which; alert(keynum); keynum = 9; alert(keynum); return keynum; }Leave a comment:
-
-
Can i configure FireFox browser to act like IE when key is pressed?
Hi, is there any way i can configure firefox so that when i press the ENTER key i can catch through javascript the event.keyCode== 13? Perhaps identifying the browser agent and then make some configurations? It would be a dream come true.
Thanks even for reading this. -
CLASSIC enter key fires tab action to focus on other ctrl not working in ff
Hi,the following code works in the latest version of IE but doesnt work in the latest version of FireFox. Tried everything on available on the web. Im using ASP.NET & VS2008 but have this code on the client:
javascript:if (event.keyCode= =13) {event.keyCode= 9; return event.keyCode }
Thanks....
No activity results to display
Show More
Leave a comment: