I have created a sortable component with jQueryUI and this works fine including when these elements has created by appendTo jQuery function.
$template.appendTo("#lista_criterios");
$( "#lista_criterios" ).sortable({
handle: ".criterio-header",
placeholder: "alert alert-info",
axis: 'y',
update: showMessage('alert-success', 'Ordenacion de criterios completada.')
});
when a need twow an event when the sort is finished update and others functionalities of sortable element don't works.
Please can you help me?
Note: the example code is not identical of original.