Is there a way to extract the value of an input tag prior to input change at the onchange event? Or is there an event triggered before 'change' instead? In particular I need it for type range. Thanks
This question adds to previously asked similar questions because I also ask if there is NO way to 'catch' the value before it is being changed as in many other programming languages.
<form >
<input type="range" value="0" id="indentA" name="indentA" min="-20" max="20" onchange="alert('trying to output original value here... \ncurrent value is: '+this.value);" >
</form>