<!DOCTYPE html>
<html>
<head>
<script>
function chnagedisp()
{
document.getElementById("met1").value = 6;
document.getElementById("prog1").value = 80;
}
</script>
</head>
<body>
Downloading progress: <meter id="met1" value="2" min="0" max="10">2 out of 10</meter>
<br><br>
Update progress: <progress id="prog1" value="22" max="100"></progress>
<br><br>
<input name="Button1" type="button" value="button" onclick="chnagedisp()">
</body>
</html>