I'm trying to get a web volume slider for a RasPi Project. Therefore I need a way to transfer the value of the slider live to the server. Currently the slider is working fine, but I do not get the data to the server.
I already found a way to do it it via a submit button, but that’s not what I’m looking for because I need the volume “live” at the server.
Best regards geerkins
<script>
function verarbeiten(auswertung){
//var test = auswertung;
//alert(test);
return auswertung;
}
</script>
<form oninput="numerisch.value=verarbeiten(auswertung.value)">
<!--<form oninput="numerisch.value=auswertung.value">-->
<input type="range" name="auswertung" min="0" max="10" value="5" orient="vertical">
<br>
<output name="numerisch">5</output>
</form>