Check out my project code and demo here: http://jsbin.com/erofot/1
What is my objective?
I aim to allow users to move .draggabledivs only within the table (.dropable div) and to enable them to move divs horizontally between the table(days).
<script>
$(function() {
$( ".draggable" ).resizable();
$( ".draggable" ).draggable({
helper: "clone"});
$( "#droppable" ).droppable({
drop: function( event, ui ) {
$( this )
.addClass( "ui-state-highlight" )
.find( "p" )
.html( "Dropped!" );
}
});
});
</script>