asked on
$(document).keydown(function (e) {
//alert(e.keyCode);
$('input').keyup(function (e) {
if (e.which == 33) {
$(this).closest('td').next().find('input').focus();
} else if (e.which == 34) {
$(this).closest('td').prev().find('input').focus();
}
});
});