SORRY没看到是下一行
cells.parentNode.childNodes[0].focus()

解决方案 »

  1.   

    SORRY没看到是下一行
    cells.parentNode.childNodes[0].focus()
    这个也有问题吧
    cell.parentNode => 当前行tr
    tr.childNodes[0] => 当前行第一个cell
    应该是
    cell.parentNode.nextSibling.childNodes[0].focus();
      

  2.   

    cell的类型为text
    好象都不行
      

  3.   

    试下cell.parentNode.nextSibling.childNodes[0].childNodes[0].focus();
    楼主这么问不太好回答,因为没办法调试
    这个是要符合dom规则的,在这种情况下,一个文本,一个文本框都有影响的