I have this code:
<div id="progres-bar" class="progres-bar" value="90"></div>
I want to get value from this element where value="90"
, so the output should be 90
using javascript. I tried to make this with the below way:
document.getElementById("progres-bar").value;
but it didn't worked!