i used jquery-ui-sortable, its Work Perfectly. But it not ssave their order, how can i save it
any one Help
here is my code
<?php
add_action('wp_enqueue_script','image_sort');
function image_sort(){
wp_enqueue_script( 'jquery-ui-sortable' );
}
?>
<script type="text/javascript">
jQuery(document).ready( function($) {
$('table#image_sort tbody').sortable();
});
</script>
<?php if(!empty($wp_logo_slider_images)) : ?>
<table class="widefat fixed" cellspacing="0" id="image_sort">
<thead>
<tr>
<th scope="col" class="column-slug">Image</th>
<th scope="col">Image Links To</th>
<th scope="col" class="column-slug">Actions</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</tbody>
</table>
First you call properly jQuery lib in file, and save values in wp_options
Hope you Find your Answer