jQuery

Creating A Sortable Form Element

  • Posted on: 26 August 2014
  • By: Nate Jones

Many times it is useful to have a set of options in a form that can be sorted by the user in a drag and drop fashion. Whenever possible I like to use standard form elements to report data to the server. So one way I have found to provide a user with a sortable form element is by using javascript to update text form elements with the relative weights of the list.