Javascript examples for DOM HTML Element:Input Time
Input Time stepDown() Method - Decrement the minutes by 10
<!DOCTYPE html> <html> <body> Time: <input type="time" id="myTime" value="16:32:55"> <button onclick="myFunction()">Test</button> <script> function myFunction() {// w w w .java2s . c om document.getElementById("myTime").stepDown(10); } </script> </body> </html>