I am creating an application using phonegap + jquery mobile. I have three switches and a slider whose minimum and maximum values are set to 0 and 10 respectively. Now, if I select some switch and a change event occurs. I want to set the minimum value of the slider to another value, such as 3 or 4 in this change event. I want to do it dynamically. I can change the "value" parameter of the slider, but how to change the value of the minimum value of the slider?
source share