Hey, Today I am going to show the source code of Login System In Javascript. As Well As, It's not better than PHP Login System But It is quietly brilliant :)
The Source Code include a javascript and a html table.
<script language = "Javascript">
// Identifying the language
function passuser(form) {
if (form.id.value=="Your Username") //Here you can change your username {
if (form.pass.value=="Your Password") //Here you can change your password {
location="index.html"
} else {
alert ("Incorrect Password")
}
} else { alert ("Invalid UserId")
}
}
</script>
The Source Code include a javascript and a html table.

// Identifying the language
function passuser(form) {
if (form.id.value=="Your Username") //Here you can change your username {
if (form.pass.value=="Your Password") //Here you can change your password {
location="index.html"
} else {
alert ("Incorrect Password")
}
} else { alert ("Invalid UserId")
}
}
</script>
0 comments:
Post a Comment