Javascript examples for DOM HTML Element:Meter
Meter high Property - Return the value of the high attribute in a gauge:
<!DOCTYPE html> <html> <body> <meter id="myMeter" min="0" low="40" high="95" max="100" value="65"></meter> <button onclick="myFunction()">Test</button> <p id="demo"></p> <script> function myFunction() {// www . ja va2 s.c o m var v = document.getElementById("myMeter").high; document.getElementById("demo").innerHTML = v; } </script> </body> </html>