Is it possible to determine the value/position of a user\'s click on a progress bar using plain javascript?
Currently, I can detect a click on the element but can only g
For those willing to use a slider instead of a progress bar, obtaining the value would be much easier:
HTML
JavaScript
const slider = document.getElementById('slider'); slider.onclick = () => alert('Current value: ' + slider.value);