
Untitled
By: a guest on
Jun 26th, 2012 | syntax:
None | size: 0.83 KB | hits: 16 | expires: Never
changer helper id
$('.column1').draggable({
containment: '#sort' ,
helper:'clone',
connectToSortable:'#sort',
start: function(event,ui) {
i=counts[ 0 ]++;
document.getElementById('wid').value=i;
updateCounterStatus( $start_counter, counts[ 0 ] );
ui.helper.attr("id","colum2");
}
start: function(event,ui) {
i=counts[ 0 ]++;
document.getElementById('wid').value=i;
updateCounterStatus( $start_counter, counts[ 0 ] );
$('.ui-draggable-dragging').attr("id","colum2");
}
$('#colum').draggable({
helper:'clone',
connectToSortable:'#sort',
start: function(event,ui) {
k=counts[ 0 ]++;
document.getElementById('wid').value=i;
updateCounterStatus( $start_counter, counts[ 0 ] );
$(this).attr("id","colum"+k);
}