Move table rows up and down - Jquery/Javascript

前端 未结 2 1323
悲&欢浪女
悲&欢浪女 2020-12-18 16:37

Can anyone please tell me how to move table rows up and down through jQuery/Javascript.

I have a table and for each row a radio button is there in the first td. On c

2条回答
  •  情歌与酒
    2020-12-18 16:50

    Here's a working example as requested by Nahom. It's an abbreviated version of what I'm using in my project. The green symbol on the right is for dragging, the red 'x' is for deleting.

    
        
          
            
    Font Face: Font Size:



    Task List: + Add Task X Delete All





提交回复
热议问题