I have a form with two text boxes, one select drop down and one radio button. When the enter key is pressed, I want
form
If you're using jQuery:
$('input[type=text]').on('keydown', function(e) { if (e.which == 13) { e.preventDefault(); } });