It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Java Forum

A little help would be good

A little help would be good

Postby spatfa on Wed Mar 07, 2007 10:00 am

umm just on this site that has a whole lot of challenges and Im stuck on 1 cos i don’t know javascript could 1 of you help please


Code: Select all
<script language="JavaScript">

function passwd()
{
var x="a" + "k";
var base = "Fqc";
var code="";
var end = "";
for (var z=0;z<base.length;z++)
{
code=code+String.fromCharCode(base.charCodeAt(z)+z);
}
end = code + x;
if(document.check.passwort.value==code)
{
document.write("Access Granted, please type it in and press submit.");
}
else
{
document.write("Access Denied.");
}

}
</script>


just realized its in the wrong forum so could a admin move it to javascript
spatfa
 
Posts: 0
Joined: Wed Mar 07, 2007 9:48 am

Who is online

Users browsing this forum: No registered users and 1 guest