title: jQuery UI Slider (setting programmatically)
body: <p>I'd like to modify the sliders on-the-fly. I tried to do so by using</p>
  
  <pre><code>$("#slider").slider("option", "values", [50,80]);
  </code></pre>
  
  <p>This call will set the values, but the element will not update the slider positions.
  Calling</p>
  
  <pre><code>$("#slider").trigger('change');
  </code></pre>
  
  <p>does not help either.</p>
  
  <p>Is there another/better way to modify the value AND slider position?</p>