input Type=range 设定默认值

<input id="goOrBack" max="1940" min="1032" type="range">

  max:为最大值

       min:最小值

$(document).ready(function() {
$('#goOrBack').val(1500);//设定默认值 })

  

 

posted @ 2019-11-06 16:19  li阿根  阅读(2049)  评论(0编辑  收藏  举报