I am trying to create a form where, if you press enter key on the serial column, the cell below becomes selected. Can someone please solve the correct jquery formula for this task?
I am trying
$('.serial').keypress(function(e) {
console.log(this);
if (e.which == 13) {
$(this).nextAll('#serial').first().focus();
e.preventDefault();
}
});
http://jsfiddle.net/tYFcH/6/