Ad Code

Responsive Advertisement

Java script font element for password

 Java script font element for password 





<html>

<head>

<script language=Javascript>

function check()

{

pw1=document.f1.p1.value

pw2=document.f1.p2.value

if(document.f1.p1.value=="")

{

document.write("Plese enter your password")

}

else if(document.f1.p2.value=="")

{

document.write("Plese enter your retype password")

}

}

</script>

</head>

<body bgcolor=green>

<form name=f1>

Password<input type=password  name=p1>Retype password<input type=password  name=p2>

<input type=submit name=submit value="submit now" onClick="check()">

</body>

</html>



Post a Comment

0 Comments