0 Replies Latest reply on Feb 7, 2010 3:11 PM by Ullitasch

    position of box after dragging?

    Ullitasch Level 1

      I have a draggable box made with jquery (http://jqueryui.com/demos/draggable/). After the box has been moved and I go to another page  with has the same box on it, or if I refresh the box goes back to its original position. How do I get the left and top position of the box when it has been dragged so I could pass it on with a parameter or something like that to another site? Thankx for any further help, tips, link!

       

      <script type="text/javascript">
        $(document).ready(function(){
          $("#draggable").draggable();
        });
        </script>
      <style type="text/css">
      <!--
      #draggable {
           left: 10px;
           top: 10px;
      }-->
      </style>