Please help, this is doing my head in!!!! I am sure it is something
really simple and ovbious that I am missing but for the life of me I
cant find where!!!
I have this function...
<script>
<!--
function update(frm) {
var mon, mon1, form;
form=frm;
mon=frm.mon.value;
alert(mon);
}
-->
</script>
and this calls it...
<form method="post" name="sas002">
<tr>
<td><input name="mon" value="1" size="5"></td<td><input name="tue"
value="1" size="5"></td>
<td><img src="../images/edit.gif" onClick="update(this.form)"></td>
</tr>
</form>
how whenever I run this i get an undefined for the form name...
its as if the this.form is not passing the form name through like it
should be - any suggestions?
need to do it like this as the form is created dynamically....