Drag and Drop into another div and move in the div only using jquery
- by Jean
Hello,
I have a dragable div, I want to be able to drag a div and drop into another div. It should only move inside the, dropped div.
Currently I have this code
<script type="text/javascript">
$(function() {
$("#draggable").draggable();
});
</script>
<div id="draggable" class="ui-widget-content">
<p>Drag me around</p>
</div>
Thanks
Jean