Here’s another solution.
To move a row down:
jQuery("#rowid").next().after(jQuery("#rowid"));
To move a row up:
jQuery("#rowid").prev().before(jQuery("#rowid"));
Here’s another solution.
To move a row down:
jQuery("#rowid").next().after(jQuery("#rowid"));
To move a row up:
jQuery("#rowid").prev().before(jQuery("#rowid"));