How can you get the range slider to store output as a variable (which will then be set as a a session)
Thanks for the help
*have removed < and > so could display it with code
Below is my code (which doesn't work)
HTML Code:
input type="range" min="1" max="100" value="50" class="slider" id="range"
Value: span id="value" /span
Value: span id="outputVar" /span
JavaScript Code:
var slider = document.getElementById("range");
var output = document.getElementById("value");
var outputVarNo = document.getElementById("outputVar");
output.innerHTML = slider.value;