This code mimics jumping from one tabindex to the next, but with the [enter] key instead of [tab].
It matches the [enter] key value and focuses on the next tabindex. The function is bound to an $('input').
$('input').bind('keypress', function(kp){
if (kp.keyCode == 13){
var tabindex = $(this).attr('tabindex');
tabindex++;
$('[tabindex=' + tabindex + ']').focus();
return false;
}
});