Hi All,
I have a div which contains an image. At the start if I drag the div it works fine but when I select an item from a dropdown list which then assigns a different image to the div the drag stops working. The dropdown has autopostback so I can get the new image.
Any help please, very new to jquery :)
Jiggy!
PS. Here is my jquery. Also does it matter that the controls are in an updatepanel?
I have a div which contains an image. At the start if I drag the div it works fine but when I select an item from a dropdown list which then assigns a different image to the div the drag stops working. The dropdown has autopostback so I can get the new image.
Any help please, very new to jquery :)
Jiggy!
PS. Here is my jquery. Also does it matter that the controls are in an updatepanel?
Code:
<script type="text/javascript">
$(function () {
$('#divPreview').draggable({ helper: "clone",
cursor: "move"
});
});
</script>