Swaping rows of a table using javascript

Hi Developers and coders!!!

I am facing a complex situation. I have to swap rows of a table client side using javascript.

I thought i could do it using HTML Dom but i am not able to do it, can any one help me for this. suppose i want to move Item 2 one level up on click of move up button using javascript, how is it possible using java script. I will be very thankful if could get some code snippet.

Item 1

Item 2

Bye............

[724 byte] By [Digamber] at [2007-12-24]
# 1

Hi,

The article at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dhtmltechcol/cols/dndude/dude07232001.asp?frame=true may help give some idea on how to manipulate tables from script.

Thanks
-Dave

DaveMassy at 2007-8-31 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Web Development...