Hi I have a form In that form when i press enter key in first field it will go to second field and could not submit the form.How can i do this? Regards Rekha
Hi I didn't mean in that way.I want to solve this quickly.If anybody knows the solution for this pls answer me quickly. Regards Rekha
HTML: <script> function handleEnter(e) { var characterCode; if(e && e.which) { e = e; characterCode = e.which; } else { e = event; characterCode = e.keyCode; } if(characterCode == 13) { document.getElementById('nextfield').focus(); return false; } else { return true; } } </script> <input type="text" id="firstfield" onkeypress="return handleEnter(event);" /> <input type="text" id="nextfield" />