You are here: DEVPPL Forum Programming Java Forum
NOTIFICATIONS
54.329
MEMBERS
15.720
TOPICS
62.407
POSTS
  562
FLASH GAMES
7.740
TUTORIALS
 

Login

E-mail:
Password:

A little help would be good

0

Loading

A little help would be good

Postby Spatfa » Wed Mar 07, 2007 11: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
 
Reputation: 0
Posts: 1
Joined: Wed Mar 07, 2007 10:48 am
Highscores: 0
Arcade winning challenges: 0

A little help would be good - Sponsored results

Sponsored results

Login to get rid of ads

 

^ Back to Top