Shortable Table Rows Using Jqury UI Example

Jqury UI




Hi Guys,

In this blog, I will show how to create table rows sortable using jqury ui example. We will exaplain table rows sortable using jqury ui example. you can easy to table rows using jqury ui.we will sortable table rows using Jqury UI sortable() method.this example create simple table name,course,city.

here the example of table rows sortable using jqury ui


Now In this example create simple html table rows Sortabl using jqury ui.

<!DOCTYPE html>



<title>Shortable Table Rows Using Jqury Ui -</title>

<link rel="stylesheet" href="" />

<style type="text/css">

table th, table td


width: 100px;

padding: 5px;

border: 1px solid #ccc;




background-color: #888;

color: #fff;





<h1>Shortable Table Rows Using Jqury Ui -</h1>

<table id="tblLocations" width="50%" cellpadding="0" cellspacing="0" border="1">









<td>Yogesh singh</td>






<td>Sonarika Bhadoria</td>






<td>Vishal Sahu</td>






<td>Sunil Patel</td>






<td>Anil Singh</td>





<script type="text/javascript" src=""></script>

<script type="text/javascript" src=""></script>

<script type="text/javascript">

$(function () {


items: 'tr:not(tr:first-child)',

cursor: 'pointer',

axis: 'y',

dropOnEmpty: false,

start: function (e, ui) {



stop: function (e, ui) {








It will help you...

Recommended Posts