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