$("td>.EnterNextRowCol").keydown(function (e) { if (e.keyCode == 13) { var name = $(this).attr("name"); var nextRowName = $(this).parent().parent().next().find("input[name=" + name + "]"); nextRowName.focus(); } })
可用于扫码跳转功能