Make an ajax request with elements attributes with jquery
<p>I want to make an ajax request where I want to give all my elements attributes. For exemple i select all my elements : </p>

<pre><code>var elements = $('.droppable')
</code></pre>

<p>and then i make my ajax :</p>

<pre><code> $.ajax({
     url: "test.html",
     data: {myelements : elements},
      success: function(){

      }
  });
</code></pre>

<p>How can i do to give all my elements attributes as <strong>height, width, position, top, left</strong>... to my ajax request. I have to make an array myself or there is an other way?</p>

<p>I want to do that because i want to save in database all the absolute position of my elements.</p>

<p>Thank you for help.</p>
