Hey all,
I have tried to update some code using javascript to perform a onclick event, this works great in FireFox, but gives me an error in IE6 and IE7.
The error:
form.ccd_num is null or not an object
here is my code:
[CODE]
<form name=”setISSUE” method=”post” action=””>
<td nowrap>Issue Type</td>
<!– Value 14 is CCD –>
<td><select name=isstype id=isstype onChange=”javascript: if(this.value == ’14’) {form.ccd_num.disabled=false;form.ccd_num.value=”} else {form.ccd_num.disabled=true;form.ccd_num.value=’0′}”>
<option value=0>SELECT</option>
<?php
print $optiss;
?>
</select></td>
</form>
</tr>
<tr>
<td nowrap align=left> Subject</td>
<td nowrap align=left colspan=5> <input type=text size=81 name=subj> CCD# <input type=text name=ccd_num disabled value=’0′> </td>
</tr>