Neelima

Neelima

  • NA
  • 3
  • 0

Swap the table rows dynamically

Dec 25 2008 3:28 AM
Hi,

I have a table with 5 rows and a link with name say 'swap'...which looks like..

<tr1> swap
<tr2>
<tr3>

<tr4>
<tr5>

When i click on swap, the positions of <tr2> an <tr3> i the table should get swaped. ie., the order of the <tr> should become as shown :


<tr1> swap
<tr3>
<tr2>

<tr4>
<tr5>

Is there any way to do it?

Thanks in Advance..!!

-Neelima

Answers (3)