please help me out
the following is the small code i have
<html>
<head>
<script type="text/javascript">
function validate()
{
if (document.abc.region.value==0)
{
alert('Select Region');
document.abc.region.focus();
return false;
}
if (document.abc.subject.value==0)
{
alert('Select Subject');
document.abc.subject.focus();
return false;
}
if ((document.abc.canname.value=="") || (document.abc.canname.value==" "))
{
alert('Enter Candidate Name');
document.abc.canname.focus();
return false;
}
document.abc.action = 'saverecord.php';
document.abc.submit()
}
</script>
</head>
<body bgcolor="aliceblue">
<form name="abc" id="abc" method="post">
<table name="primary" align="Center" border=1 >
<tr>
<td align="left" width=5%><font face="verdana" size=2> <b>1.</font><font color=red size=3><b> * </b></font></td></td>
<td align="left"><font face="verdana" size=2 width=200>
<b>Region:
</b></font>
<td align="left">
<select name="region" >
echo "<option value=0 selected>(Please select:)</option>
echo "<option value=B>Bangalore</option>"
echo "<option value=M>Mumbai</option>"
}
</select>
</td>
</tr>
<tr>
<td align="left" width=5%><font face="verdana" size=2> <b>2.</font><font color=red size=3><b> * </b></font></td></td>
<td align="left"><font face="verdana" size=2>
<b>Subject :</b></font>
<td align="left">
<select name="subject" onblur="globalfac();">
echo "<option value=0 selected>(Please select:)</option>
echo "<option value=A>Arts</option>"
echo "<option value=B>Commerce</option>"
}
</select>
</td>
</tr>
<tr>
<td align="left" width=5%><font face="verdana" size=2> <b>3.</font><font color=red size=3><b> * </b></font></td></td>
<td align="left"><font face="verdana" size=2>
<b>Name of the Applicant:</b></font>
</td>
<td align="left">
<input type="textbox" name="canname" size=73 maxlength=100>
</td>
</tr>
<tr>
<td align="center"><input type="button" name="submit" value="Submit" onclick="validate();"></td>
</tr>
</table>
</form>
</body>
</html>
after entering the values, and press submit button i am getting error like
error on page.
i am not able to find out the error. please help me out