title: Change value in div when click on button with jquery?
body: <p>Hi
  I have a div that I want to change some values in, when I click a button.</p>
  
  <p>If I click on </p>
  
  <pre><code>&lt;button id="image320x150"&gt;320 x 150&lt;/button&gt;
  </code></pre>
  
  <p>then I want to change the width to 100 and the height value to 200 in the div.</p>
  
  <p>and if I click on:</p>
  
  <pre><code>&lt;button id="image320x200"&gt;320 x 200&lt;/button&gt;
  </code></pre>
  
  <p>then I want to change the width to 50 and the height value to 100 in the div.</p>
  
  <pre><code>&lt;div style="width:200px;height:287.5px;overflow:hidden;"&gt;
  </code></pre>
  
  <p>And I want the div to have the original values at first.
  Thanks a lot!</p>