Code:
<script type="text/javascript">
$(document).ready(function () {
var inputs = $(':input,select').keypress(function (e) {
if (e.which == 13) {
e.preventDefault();
var nextInput = inputs.get(inputs.index(this) + 1);
if (nextInput) {
nextInput.focus();
}
}
});
});
</script>