Html

Burgon

New Member
hey all HTML coders...
I've got a problem with my textarea. its in JavaScript.
its a password one but the text dosent appear like stars.. how can i make it appear like stars? please help.


:eek:Burgon:eek:
 
how about posting your code up here, that would help quite a bit, lol. And what editor/scripter are you using...??

dragon2309
 
soz i forgot bout that. i am using notepad ++ (same as notepad)
here comes the code:
<html>
<head>
<title>
.:TheBurgon:. Wallpapers/Cursors/icons
</title>
</head>
<body background="backmenu.gif">
<center>
<script>

var pass=new Array()
var t3=""
var lim=5
pass[0]="17rCuDY3Kpm1fx"
pass[1]="iYlw21PaiqhYI4K"
pass[2]="pYH9hS6gxd77tYq"
pass[3]="DHDHK1MSuwi9w0X"
pass[4]="5WZgtBrkvZHnnWAU"
pass[5]="51WZgtBrkvZHnnWA"

//configure extension to reflect the extension type of the target web page (ie: .htm or .html)
var extension=".html"
var enablelocking=0
var numletter="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
var temp3=''
var cur=0


function max(which){
return (pass[Math.ceil(which)+(3&15)].substring(0,1))
}

function testit(input){
temp=numletter.indexOf(input)
var temp2=temp^parseInt(pass[phase1-1+(1|3)].substring(0,2))
temp2=numletter.substring(temp2,temp2+1)
return (temp2)
}


function submitentry(){
t3=''
verification=document.password1.password2.value
phase1=Math.ceil(Math.random())-6+(2<<2)
var indicate=true
for (i=(1&2);i<window.max(Math.LOG10E);i++)
t3+=testit(verification.charAt(i))
for (i=(1&2);i<lim;i++){
if (t3.charAt(i)!=pass[phase1+Math.round(Math.sin(Math.PI/2)-1)].charAt(i))
indicate=false
}
if (verification.length!=window.max(Math.LOG10E))
indicate=false
if (indicate)
window.location=verification+extension
else
alert("Invalid password. Please try again")
}
</script>



<table border="1" cellspacing="0" cellpadding="0" bgcolor="#FFFFBD">
<tr>
<td width="100%"><form name="password1"><div align="center"><center><p><strong>Enter password: </strong><input
type="text" name="password2" size="15"><br>
<input type="button" value="Submit" onClick="submitentry()"></p>
</center></div>
</form>
</td>
</tr>
</table>
</center>
</body>
</html>
 
well, it has nothing to do with you javascript, that looks peachy, surely you could just chage the input type of the text area..... its at the bottom, change <table border="1" cellspacing="0" cellpadding="0" bgcolor="#FFFFBD">
<tr>
<td width="100%"><form name="password1"><div align="center"><center><p><strong>Enter password: </strong><input
type="text" name="password2" size="15"><br>
<input type="button" value="Submit" onClick="submitentry()"></p>
</center></div>
</form>
</td>
</tr>

where that is change it to say type="password" that should do it
 
Back
Top