If you use two text fields to reset the limit values, you need to execute the change event function, which detects any changes.
$('#rangeMod input:text').change(function() { // set range vars based on new input (you should also validate for (INT)). var txtbox1 = '...'; // based on first text box var txtbox2 = '...'; // based on second text box var range = [txtbox1, txtbox2]; $('#my-slider') .slider("destroy") /* Destroy it Before Rebind/Re-Init */ .slider({range:true, min: range[0], max: range[1], ... }); });
source share