title: Querying an inline style property in JQuery
body: <p>I am writing a JQuery HTML parser for some particularly formatted HTML and I need to query an inline style for a value.</p>
  
  <p>Within the code I am stepping through particular input fields and saving out this particular style to an array...</p>
  
  <p>First here is the code I am using to step through these input fields and grab the widths. This works but does not return the correct width value (I want the EM value).</p>
  
  <pre><code>$('.inputBox',this).each(function(index)
  {
     widthArray[widthArray.length] = $(this).attr('width');
  }
  </code></pre>
  
  <p>Here is a simplified example of one of the input boxes</p>
  
  <pre><code>&lt;input style="width:1.9500000000000002em;" maxlength="3" tabindex="1" class="inputBox" type="text"&gt;
  </code></pre>
  
  <p>Any help appreciated. Thanks!</p>