'2013/11'에 해당되는 글 1건

  1. Sortable(index update)

Sortable(index update)

$(".contents > form > table > tbody").sortable({

   stop: function(event, ui) {

    $(".contents > form > table > tbody > tr").each(function(){

    $(this).children("td:eq(1)").text($(this).index());

console.log($(this).attr("id"));

    });

   }

});