Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のページには、最小 -100 と最大 100 と startValue 0 を持つ jQuery スライダーがあります。スライダーの値を 0 にリセットするリセット ボタンを提供したいと考えています。
それを行うためのセッター関数が見つかりません。どうすればよいですか?
ご覧のとおり、スライダーの値を取得または設定できます。
$("#slider).slider('value', 0);
http://docs.jquery.com/UI/Slider/slider#.22value.22value
これでうまくいくでしょうか?
$("#slider").slider("value",0);