jQuery Slider Change Options Dynamically

To change any of the widget options dynamically you need to get the initial options, change the desired properties and call the widget refresh(options) method, passing the new values.
This is demonstrated in the code below:

<input id="slider" value="30" />

<script type="text/javascript">
         min: 10
         max: 100
    function changeOptions() {
       var slider = $("#slider").swidget(),
       options = slider.initialOptions;
       options.min = 100;
       options.max = 200;