Slider Min / Max Set from input fields

Slider Min / Max Set from input fields

I have a question about min max values coming from input fields. Current this is what I have written.

  1. min: $(this).parent().find("input.min").val(),
    max: $(this).parent().find("input.max").val(),
    value: $(this).parent().find("input.value").val(),

The interesting thing that I have come across is that when i set the input.min value to 0 the slider works fine. When I set it to 1, the slide functionality no longer works.

I guess my question is two fold

1. Why does the slider not work on a minimum value other than 0 when the value comes from an input field?
2. Is there a better way to set this up?

Thanks,

bW