How to interchange the table cells using jquery ui using drag and drop -


i want interchange columns table on drag , drop.

<table>  <tr>   <td class='1'>    first   </td>   <td class='2'>    second   </td>  </tr>  <tr>   <td class='3'>    third   </td>   <td class='4'>    fourth   </td>  </tr> 

now can use draggable function

 $(".1").draggable(); 

if drag class='1' td class='4' td both td's interchange. how can able jqueryui

i think need sortable functionality in jqueryui

http://jqueryui.com/sortable/

example extracted api: http://jsfiddle.net/d8wgv/


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -