wicked
07-28-2002, 11:59 PM
i'm still having some problems with the code, cuz pass isnt working
<script language="JavaScript" type="text/javascript">
function checkpass()
{
var b;
var a="pass";
b=prompt('Your password here',' ');
if (a==b)
{
window.location="pr.php?pass="+a;
}
else
{
window.location="pr.php?pass=no";
}
}
</script>
pls help me out
<script language="JavaScript" type="text/javascript">
function checkpass()
{
var b;
var a="pass";
b=prompt('Your password here',' ');
if (a==b)
{
window.location="pr.php?pass="+a;
}
else
{
window.location="pr.php?pass=no";
}
}
</script>
pls help me out