![]() Topic awaiting preservation: moving table rows with DOM? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: |
![]() For example, I have a table like code: <table>
|
Paranoid (IV) Inmate From: France |
![]() To ease the things you should turn you markup to : code: <table> Passing this to the function will provide you the handle of the SPAN. Using the .parentNode property several times will lead you to the TR you want to move. |
Bipolar (III) Inmate From: |
![]() That page is a great resource, and is helping me with some other questions I've had kicking around my head. code: function move(item,direction)
|