javascript range slider

JavaScript
var x = document.getElementById("myRange").value
Source

Also in JavaScript: