I'm trying to get a value like this
var pgr = $("#myProgress").val();
var mbar = $("#myBar").val();
Only that it returns empty to me "", if I do with the
var prg = document.getElementById("myProgress");
I get something like the following=" <div id="myBar" value="50" max="100" onclick="increase()"></div>
"
Is there any way to get that variable prg out only the value?
All this is from a .js file