Javascript examples for DOM HTML Element:Input Email field
Input Email autocomplete Property - Get the state of autocompletion:
<!DOCTYPE html> <html> <body> <form action="#"> E-mail: <input type="email" id="myEmail" name="email" autocomplete="on"> <input type="submit"> </form>/* www . j av a2s .com*/ <button onclick="myFunction()">Test</button> <p id="demo"></p> <script> function myFunction() { var x = document.getElementById("myEmail").autocomplete; document.getElementById("demo").innerHTML = x; } </script> </body> </html>