title: Storing .css() In Object, jQuery
body: <p>I am currently trying to save the original CSS values of an element in an object like so:</p>
  
  <pre><code>var xc = {
      "pos": {
          "ml": String($(this).css("margin-left")),
          "mt": String($(this).css("margin-top"))
      }
  };
  </code></pre>
  
  <p>After the values stored, I then change the CSS styles of the element whose values I just stored. </p>
  
  <p>When I try to access the original values from the object, I am returned the new CSS styles of the element.</p>
  
  <p>For example, 235px is stored in the object, I then change the 235px of the element to 10px. The 235px of the element now becomes 10px.</p>