Javascript Reference
Categories: TBODY

javascript TBODY moveRow( )

@May 23, 2008, 1:56 p.m.
moveRow( ) Firefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a  

moveRow(indexToMove, destinationIndex)


Moves a row in the tbody, tfoot, or thead element from its original location to a different row position within the same section. The first parameter is a zero-based index of the row (within the rows collection) you wish to move. The second parameter is the index of the row before which you want to move the row.

  • A zero-based integer pointing to the row to move.
  • A zero-based integer pointing to the row above which the row is to be moved.
Returned Value

Reference to the moved row.

moveRow() is not working in google crome browser
vivek - 2016-04-29

Powered by Linode.