Here, I will show you a simple example of rearranging the HTML list item through drag and drop functionality using jQuery. Here in this example, I have used the jQuery List DragSort plugin . You can download this plugin from here.
To implement this we need to write the code like as shown below
To implement this we need to write the code like as shown below