Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<input type="range" id="myRange"><br><br>
<button onclick="disableBtn()">Disable Slider Control</button>
<button onclick="undisableBtn()">Undisable Slider Control</button>
<script>
function disableBtn() {
  document.getElementById("myRange").disabled = true;
}
function undisableBtn() {
  document.getElementById("myRange").disabled = false;
}
</script>
</body>
</html>