This works on atom and other programs i use but can't get it to work with Wordpress code.
This is the code i have been using. Am i missing something obvious here? The slider itself works, and so does the amount when you hit the button to continue, but the actual value does not increase. Example, if i slide it to the end it stays at (1) instead of (5)
<!-- Start of Slider Code -->
<div class="slidercontainerdiv">
<span id="rangeValue">1</span>
<Input id="amount" type="range" value="1" min="1" max="5" onChange="rangeSlide(this.value)" onmousemove="rangeSlide(this.value)">
</div>
<!-- End of Slider HTML-->
<script>
type="text/javascript">
function rangeSlide(value) {
document.getElementById('rangeValue').InnerHTML = value;
}
</script>