britinusa
08-18-2005, 10:01 AM
Can anyone tell this newbie WHY this snippet generates an Object Required error at line x> ?
<form action="whatever.cfm" method="post" name="eggs">
<input type="checkbox" name="alldayevent" onClick="whichisit(this.form);"> All day event
<script language="javascript">
function whichisit(form){
x> var t=form.alldayevent.checked;
}
</script>
</form>
This seems SO simple and matches examples in all 3 of my textbooks.
Robert
<form action="whatever.cfm" method="post" name="eggs">
<input type="checkbox" name="alldayevent" onClick="whichisit(this.form);"> All day event
<script language="javascript">
function whichisit(form){
x> var t=form.alldayevent.checked;
}
</script>
</form>
This seems SO simple and matches examples in all 3 of my textbooks.
Robert