title: How to convert pounds to kilograms using jQuery?
body: <p>I have a form that allows the user to enter a weight, in either pounds or kilograms.  </p>
  
  <p>I'd like to store all of the data in kilograms, and using jQuery, would like the form to convert the weight_value to kilograms and change the weight_units option to "kg".  </p>
  
  <blockquote>
    <p>1 pound = 0.45359237 kilograms</p>
  </blockquote>
  
  <p>The function should round the weight_value to the nearest kilogram (no decimals).</p>
  
  <p>Any help you could provide would be appreciated!</p>
  
  <pre><code>&lt;label&gt; Weight:&lt;/label&gt;
  &lt;input type="text" id="weight_value" /&gt;
  &lt;select id="weight_unit" /&gt;
     &lt;option value="lbs"&gt;lbs&lt;/option&gt;
     &lt;option value="kg"&gt;kg&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>