I have an empty div which is draggable and to which I need to add an image to the left top corner And it should be able to move along with the div.
So how do I do that?
<div class="example">
<div>
This is the script:
<script type="text/javascript">
$(function () {
$('.example').draggable
});
</script>
make the image a background of the div, or just put an
<img>tag there and add the classhere it is with :before