How to reset a jQuery UI slider?

后端 未结 5 1888
梦毁少年i
梦毁少年i 2021-02-07 05:50
    
    
    

        
5条回答
  •  自闭症患者
    2021-02-07 06:05

    You also can reset in one line of code (if you use the range option in slider)

    $("#slider-range").slider("option", "values", [some_min_val, some_max_val]);
    

提交回复
热议问题