Javascript Reference
Categories: tips

javascript move to next input when ENTER key is pressed

@May 11, 2009, 5:25 a.m.
<input onkeydown="if(event.keyCode==13)event.keyCode=9" name="txt1" />
<input onkeydown="if(event.keyCode==13)event.keyCode=9" name="txt2" />

keyCode = 13 is ENTER pressed event
keyCode = 9 is TAB key

Unfortunately, this is IE only. For firefox, it raises the error 'setting a property that has only a getter', beacuase of read-only property of keyCode.
When it comes to trucks, we are thinking of the huge monsters that are moving and can not be prevented by any obstacles. However, the manufacturer Enjoysports has launched a high-speed truck simulation game called Crazy Trucker. The player will become a truck driver in this game, you will be taking high speed and dangerous journey to show your driving ability. You will become a truck driver. you use your truck to transport a variety of different goods to participate in a dangerous race. Use Crazy Trucker hack - this will give you an unlimited cash resource. If you apply Crazy Trucker hack, this will greatly facilitate the passage at the initial level, will allow you to fully enjoy the game from the first minutes. <a href=>Crazy Trucker app</a>
Luciobiowl - 1 months
iTranslate Translator & Dictionary apk content rating is Everyone and can be downloaded and installed on android devices supporting 16 api and above. <a href=></a>
MichaelTreaf - 1 months
Like, no need to list them all if that is too verbose, but to have any sort of pointer at that to start with (e.g. by listing the number of out-of-repo packages at least) would be very helpful. <a href=></a>
Rudolphmut - 1 months

Powered by Linode.