hi i have a dought in password creation pls help me
Posted: Sat Jul 04, 2009 12:00 pm
<html>
<head>
<script type="text/javascript">
function ki(x)
{
var y=document.getElementById(x).value;
var k=3;
var g=6
if(y>k)
{
$q=document.write('<table id=12 border=0 cellpadding=0 cellspacing=0 width=180><tr><td height=4 bgcolor=#e0e0e0 width=0%></td></tr></table>');
}
}
</script>
</head>
<body>
Password <div><input type="password"
id="pass" onkeyup="ki(this.id)" /></div><?php echo"$q";?>
</body>
</html>
this is the program i used to display the password strngth image but here the problem i am facing is while in entering the 2 letters the image is coming up and the text feild is going up so kindly help me to do this like i need to show in the field of password while entering the 5 letters it should rate the tag half green and which should be beside to the entering feild and while continuing the same text feild entering the 7 it should display full green bar as strong so pls help me to do this waiting for the responce....
<head>
<script type="text/javascript">
function ki(x)
{
var y=document.getElementById(x).value;
var k=3;
var g=6
if(y>k)
{
$q=document.write('<table id=12 border=0 cellpadding=0 cellspacing=0 width=180><tr><td height=4 bgcolor=#e0e0e0 width=0%></td></tr></table>');
}
}
</script>
</head>
<body>
Password <div><input type="password"
id="pass" onkeyup="ki(this.id)" /></div><?php echo"$q";?>
</body>
</html>
this is the program i used to display the password strngth image but here the problem i am facing is while in entering the 2 letters the image is coming up and the text feild is going up so kindly help me to do this like i need to show in the field of password while entering the 5 letters it should rate the tag half green and which should be beside to the entering feild and while continuing the same text feild entering the 7 it should display full green bar as strong so pls help me to do this waiting for the responce....