|
Button zeige das Passwort |
Damit können Sie einen anklickbaren Button auf ein Bild setzen. | So sieht´s aus |
Password: |
Quellcode |
<html> <head> <style type="text/css">Hier nichts</style> </head> <body> <p style="font-size:1.3em; font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif">Password: <input type="password" value="PassPSW" id="myInput"/><br/><br/> <input type="checkbox" onclick="myFunction()"/>Zeige das Passwort</p> <script> function myFunction() { var x = document.getElementById("myInput"); if (x.type === "password") { x.type = "text"; } else { x.type = "password"; } } </script> </body> </html> |
Kontakt Datenschutz Impressum |
|