it would be nice to see the code to update the db as well..8-|

In my case, i have a 'position' attribute in db i need to update it each time a user clicks on move up or move down buttons :-?:-?