title: How to get a ALL the css properties set on an element with jquery
body: <p>I know that I can get a specific property</p>
  
  <pre><code>$('somediv').css('position')
  </code></pre>
  
  <p>But I want to get all of the properties that are set on <code>$('somediv')</code></p>
  
  <p>What I'm trying to do is create an entry in a .css file based on <code>$('somediv')</code>. I won't know what styles will be set on <code>$('somediv')</code> so I'm looking for a way to get all the styles with out explicitly requesting each one.</p>