How do I get the value of my range slider that sits in a form?
I cant get a value from it by just asking from the name.
I use this JavaScript function to typ
document.getElementById("range").value
should get the current value of the slider.
To make changes to the value this will then be the javascript.code;
function showValue(newValue) {
document.getElementById("range").value = newValue; }
If you render the slider by PHP you could simply insert the value directly: