i have this code that creates a div, adds id and appends the div. I am trying to drag that div but its not working like it should.

$("<div class='twin_seat' style='width:120px;display:table-row;'></div>")
.attr('id', twinseatsid)
.appendTo(cinema)
.draggable({ 
    containment: cinema,
    snap: true,
    helper: 'clone'
});

im using helpe: clone because i just want to visually see the element being dragged because when looking at the developer console the div does get dragged but it doesnt stay where it gets dragged to; that's the issue. help please. TIA.