Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

:::::JavaScript 6 Help Please::::


ghost's Avatar
0 0

Ok, I am stuck now. I don't even see the password. I tryed what seems about everything. I even copyed the loaction so you don't have to do to much work.=P

<script language="Javascript">
function checkPass(){
Location  = document.form.password.value
Location = "js6-" + "window.open" + ".php"
if (document.form.password.value == Location ) {
    alert("Good Job!")
    window.open(Location)
    }

else{
    alert("Try Again!")
    }

}
</script>

<form name="form">
<p align="center">Password: <input type="text"  name="password" value="">
<input type="button" value="Submit" onclick="return checkPass()">

</p>
</form>```

Thanks in Advanced.

ghost's Avatar
0 0

You don't see the password, but you see what the password should be equal to, and therefore what do you have to input in the password box.

hint window.open is(AFAIK), in this case, not a variable


ghost's Avatar
0 0

=/

^^wow, you can really express what your feeling at times with text^^

I'm a bit lost with this one.


ghost's Avatar
0 0

Well, the script tests whether the password is equal to what you input, and what is in this case equal to the password?

hint

it starts with the letter "L":D


ghost's Avatar
0 0

lol,

it's not a location =(

But I just got it. =) Thank YOU!