I am getting an expected identifier error with this code. And I don't know why I'm getting it... Any help would be appreciated!
Thanks in advance,
Cole
Code:
<SCRIPT LANGUAGE='JavaScript'>
<!--
function delete_alternative(form,i) {
if (form.delete[i].checked == true) form.delete_alt[i].value = "DELETE";
else form.delete_alt[i].value = "KEEP";
return;
}
//-->
</SCRIPT>
<?php
echo "<B><FONT SIZE=2 COLOR=#C90707>Remove this Alternative $i? :
<INPUT TYPE=HIDDEN NAME=delete_alt[$i] VALUE=''>
<INPUT TYPE=CHECKBOX NAME=delete[$i] VALUE='DELETE' onClick=\"delete_alternative(this.form,$i);\">
</FONT></B>";
?>
Thanks in advance,
Cole