can anyone put a beginner out of his misery? I have this simple Java
Script that IE keeps throwing back due to a syntax error.
It is the 'else' statement that IE trips over.
*****************
<HTML>
<HEAD>
<TITLE>The log in screen</TITLE>
</HEAD>
<BODY>
<SCRIPT LANGUAGE="JavaScript">
var password
password = prompt("Enter a Password","");
if(password=="mamu");
{
document.writeln("Correct,the monkey's name is "+ password);
Quote:
}
else
{
document.writeln("Sorry, incorrect");
Quote:
}
</script>
</BODY>
</HTML>
***********************
--
Kind Regards
Colin Reed