Quantcast
Viewing all articles
Browse latest Browse all 69

[RESOLVED] Draggable does not work after I do autopostback from a dropdown list.

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?

Code:

            <script type="text/javascript">
                $(function () {
                    $('#divPreview').draggable({ helper: "clone",
                        cursor: "move"
                    });
                });
            </script>


Viewing all articles
Browse latest Browse all 69

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>