I have this java login script(Below)
I would like to be able to add mutipale users to what i have got i was wondering is there away to dupilicate :
Here is my full Code:
I would like to be able to add mutipale users to what i have got i was wondering is there away to dupilicate :
Code:
(text2.value,"test",text1.value,"test") >
Here is my full Code:
Code:
<form action="http://www.netevolution.co.uk" method="post">
<p>ENTER USER NAME :</p>
<input type="text" name="text2">
<p>ENTER PASSWORD :</p>
<input type="password" name="text1">
<input type="button" value="Check In" name="Submit" onclick=javascript:validate(text2.value,"test",text1.value,"test") >
</form>
<script language = "javascript">
function validate(text1,text2,text3,text4) {
if (text1==text2 && text3==text4)
load('affiliate_expert.asp');
else
{
alert('Login incorrect..');
}
}
function load(url) {
location.href=url;
}
</script>