Ordering Form Collection Parameters For MonoRail using jQuery
Mike Nichols wrote a neat jQuery plugin to automatically order a list of items (like <TR>'s or <UL>'s). This plays very nicely with MonoRail's SmartDispatcherController and DataBind attribute:
"... to keep the items in a collection (like table rows or unordered lists) nicely indexed, I created a plugin that handles all the form elements for me. After ajax calls that load data into a table or ul, I can just call the plugin on the rows and all forms elements remain in their appropriate order."