title: set element width or height using jquery
body: <p>Lets say I want to assign element's width to itself. For example, I have a div with content and I want to assign <code>style="width:..."</code> it.<br>
  Then in jQuery I do:</p>
  
  <pre><code>elem.width(elem.width());
  </code></pre>
  
  <p>Which looks for me totally wrong since it looks like how can I set the width by getting it..   </p>
  
  <p>Is there any better way to do it?</p>