title: How to resize ONLY horizontally or vertically with jQuery UI Resizable?
body: <p>The only solution I've found is to set the max and min height or width with the current value.</p>
  
  <p>Example:</p>
  
  <pre><code>foo.resizable({ 
    maxHeight: foo.height(), 
    minHeight: foo.height() 
  });
  </code></pre>
  
  <p>But this is really ugly, especially if I have to change the element's height programmatically.</p>