Well if you want the ID to stay with the clone here is one way to do it.
var id = '';
$('#contphrss').sortable({
handle : '.handle',
update : function (event, ui) {
ui.item.attr('id',id);
var order = $('#contphrss').sortable('serialize');
var contr="&cont="+$('#confiss option:selected').val();
},
receive: function (event, ui) {
id = ui.sender.attr('id');
}
});
Example
http://jsfiddle.net/trevordowdle/Dy2Ft/10/
Update
EDIT by emulite To protect the integrity of the DOM I have used the attribute 'ref' to pass the value as per the modified HTML above and modified the answer to pick that up. This makes it work beautifully
id = ui.sender.attr('ref');