| You are here: DEVPPL ‹ Forum ‹ Programming ‹ Java Forum |
NOTIFICATIONS
|
|
|||||||||||||||
Login |
A little help would be good
1 post
• Page 1 of 1
0
A little help would be good
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
just realized its in the wrong forum so could a admin move it to javascript
- 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
|
|