update query slider position based on value from textbox
<p>how can i update slider's position if slider's value differs from value from a textbox ?</p>

<pre><code>$("#slider").slider({   
max: 30000,
min: 1000,
step: 1000,
range: true, 
animate: true,
values: [1000, 15000],
slide: function(even, ui)
{
$("#edit-field-price-value-min").val(ui.values[0]);
$("#edit-field-price-value-max").val(ui.values[1]);
}
});
</code></pre>

<p>as you can see i am changing with the slider the values on some textbox but i want it vice versa also</p>

<p>i'd like to be using a if statement so that at any moment if the values from text box would change the slider would as well</p>

<p>is it possible to do it onload maybe ?</p>

<pre><code>&lt;div id="slider"&gt;&lt;/div&gt;
</code></pre>
