答案 0 :(得分:1)
实际上有一个HTML元素!
$('#myRange').mousemove(function(){
$('#rangeValue').text($('#myRange').val());
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<input type="range" id="myRange" value="1" max="100">
<div id="rangeValue">1</div>