List Reorder Tool
- Each item has a unique identifier, like a unique ID number or primary key value.
- Each item has a integer value associated with it that determines where it appears in the list (like an order number)
Below is a working example of the tool. Use the up and down triangle icons to move an item up or down in the list. The moved item will be highlighted so you can see which item was moved.
This version of the tool uses AJAX to update the order on the server side--you can verify that the changes to the order of the items has been recorded by simply reloading the page. I have also developed a version of the tool that works without AJAX where the order changes are submitted via an HTML form submission and are then processed on the server side.
|Who wrote the famous pamphlet "Common Sense"?||History||View Answer|
|Which state is bigger in geographical size, Texas or Alaska?||Geography||View Answer|
|Name the ABC News reporter who received a serious head wound in Iraq.||Current Events||View Answer|
|Who are the two scientists credited with discovering DNA?||Science||View Answer|
|X * Y= 39. X + Y= 16, X - Y= -10. What is X and what is Y?||Math||View Answer|