I read this topic about java Enter to Tab function. I dont know if you got this working, but if you did not...
Try this (from your original script)
function checkForEnter (event) {
if (event.keyCode == 13) {
currentBoxNumber = textboxes.index(this);
if (textboxes[currentBoxNumber + 1] != null) {
nextBox = textboxes[currentBoxNumber + 1];
nextBox.focus();
nextBox.select();
alert(input.nt-enter);
// alert each entry to prevent immediately default action
// you will not see alert message, but in this way you preventing default action.
// until you hit the Enter outside nt-entry
event.preventDefault();
return false;
}
}
};
$(document).ready(function() {
//Enter = Tabkey
textboxes = $("input.nt-entry");
if ($.browser.mozilla) {
$(textboxes).keypress (checkForEnter);
} else {
$(textboxes).keydown (checkForEnter);
Regards, Ozren
}
});