给type="range"的input一个id。然后通过js获取它的value即可。 给你个例子: <input type="range" id="myRange"> <p>点击按钮来获得滑块控件的值。</p>
確定! 回上一頁