How to create manually sortable list using Jquery

Create manually sortable list using jquery is one of the simple concept, You can sort the list simply drag and drop the list in which order you want. This may useful for web developers. The below examples have the demo page and full source code. You can customize the code and use it according to your choice. I hope this example is very useful.

Create Manually Sortable list :

<!doctype html>
<meta charset="utf-8">
<title>How to create manually sortable list using Jquery</title>
.sortable {
margin: auto;
padding: 0;
width: 360px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: move;

.sortable li {
list-style: none;
border: 1px solid #FF9800;
background: #FFF4EC;
font-family: "Tahoma";
color: #FF3800;
margin: 5px;
padding: 13px;
height: 22px;
cursor: move;
<h1>Manual sortable list using jquery:</h1>
<ul class="sortable">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
<li>Item 5</li>
<li>Item 6</li>
<script src=""></script>
<script src="jquery.sortable.js"></script>
$(function() {

Post a Comment