JQuery/Javascript Reordering rows

前端 未结 8 1349
时光说笑
时光说笑 2021-02-06 06:50

I have a aspx page that looks something like this:


  Some label
  Some complex control
         


        
8条回答
  •  走了就别回头了
    2021-02-06 07:12

    Working example. Simply iterate through a list containing the new order (which, presumably you read from the DB), building the new table. Then set the table html() to the new table html.

    
    
        
               
    
    
    
    label 1 Some complex control
    label 2 Some complex control
    label 3 Some complex control

提交回复
热议问题