Sorting
  • tags
  • 前端 未结 4 1071
    一向
    一向 2020-12-16 05:16

    I have a a and I would like to sort my list alphabetically (I don\'t want caps to matter) according to a class named \"name\". How would I do this?

    4条回答
    •  独厮守ぢ
      2020-12-16 05:57

      Just seconding the jQuery response above, have a look at this tutorial: http://www.shopdev.co.uk/blog/sortable-lists-using-jquery-ui/

      For semantics, you might be better off also placing the classname inside the actual

    • tag.

      The use of a table inside a list aside though, you may want to post an example page to help further.

    提交回复
    热议问题