Jquery constraint proportions with width and height input fields
<p>I have a form with width and height input fields.
I want to listen to changes made in any one of the fields by the user
and change the value in the other field wile constraint proportions using Jquery.
the user can see the changes as he typs. </p>

<pre><code>&lt;form&gt;
  &lt;p&gt;
    &lt;label&gt;Width&lt;/label&gt;&lt;br /&gt;
    &lt;input type="text" id="width" value="16" /&gt;
  &lt;/p&gt;
  &lt;p&gt;
    &lt;label&gt;Height&lt;/label&gt;
    &lt;input type="text" id="height" value="9" /&gt;
  &lt;/p&gt;
&lt;/form&gt;
</code></pre>
