Click to See Complete Forum and Search --> : how to shuffle rows of a table in a web page


surendra.aluri
September 27th, 2007, 06:15 AM
i have a web page contains a table. i want to shuffle the rows of a table by using button click. i get it using list box, but it is not suitable for my requirement. here i used two buttons for move up and move down the rows. kindly give me suitable code for this problem.

with regards

PeejAvery
September 27th, 2007, 07:58 AM
Personally, I like the drag-n-drop (http://www.isocra.com/articles/table_dnd.php) solution best...but you can use buttons (http://64.233.167.104/search?q=cache:OcR09TznGhkJ:www.experts-exchange.com/Web_Development/Miscellaneous/Q_21100327.html+javascript+table+rows+up+down&hl=en&ct=clnk&cd=1&gl=us) as well.