need code that will show password when user click on button
Try this.
<!DOCTYPE html>
<html>
<head>
<title>untitled</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="generator" content="Geany 1.23.1" />
</head>
<body>
<script>
function show_pass()
{
document.getElementById("pass").type="text";
}
</script>
<input type="password" id="pass"/><input type="button" onclick="show_pass();"/>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>untitled</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="generator" content="Geany 1.23.1" />
</head>
<body>
<script>
function show_pass()
{
document.getElementById("pass").type="text";
}
</script>
<input type="password" id="pass"/><input type="button" onclick="show_pass();"/>
</body>
</html>
I need a Code which show password after click show password
Reviewed by MCH
on
May 22, 2014
Rating:
No comments: