TheJuan
10-24-2005, 08:03 AM
hi
i have this code using ENTER key instead of TAB to move on next form element which work fine on the IE but not working Firefox.
<input type="text" name="givename" onKeyDown="if(event.keyCode==13) event.keyCode=9;" />
<input type="text" name="surname" onKeyDown="if(event.keyCode==13) event.keyCode=9;" />
Seaching some page it says: "This is not working in Mozilla because the `event` object is a Microsoft proprietary trick". So what then is the same function on Mozilla? :thumbsup:
i have this code using ENTER key instead of TAB to move on next form element which work fine on the IE but not working Firefox.
<input type="text" name="givename" onKeyDown="if(event.keyCode==13) event.keyCode=9;" />
<input type="text" name="surname" onKeyDown="if(event.keyCode==13) event.keyCode=9;" />
Seaching some page it says: "This is not working in Mozilla because the `event` object is a Microsoft proprietary trick". So what then is the same function on Mozilla? :thumbsup: