title: use jquery to store array of objects and pass it to server through ajax call
body: <p>In my scenario i need to store some values in arrays of c# object and set some values to those. Then i need to store those values to database through ajax call. Please help me  Any suggestions. I have around three objects available all need to go to database.</p>
  
  <p>There will be form kind of area where user will be adding controls like textbox, textarea,fieldset, section etc., by drag and drop functionality. For each of this elements the name of textbox for eg., will be allowed to do styling like bold, italic, underline etc., there will be a done button on click of this i need to save all set properties of those elements in some javascript array and like this all elements details stored in separate javascript objects and these objects need to store in a array of objects so that i can use that array of objects to save it in a database.
  This function will be raised on click of done button which is a custom style control button.</p>
  
  <pre><code>$("#btnDoneMini").click(function () {
  
      var mydata = new Object();
      mydata.id = id;
      mydata.Name = $('#' + id).text();
      $("#tblStyleControlMini").hide();
  });
  </code></pre>
  
  <p>Now i need to store the mydata object into an array .... Please suggest !!</p>