If you have an element <progress />in the DOM:
<progress value="2" />
You can select it using jQuery, but it seems that (since version 1.5) it does not know to return the attribute valueusing the method .val(). You need to check the attribute by name:
$('progress').attr('value');