I'm only getting the error in IE 7:
"A Runtime Error has occured.
Do You Wish to Debug?
Line: 150
Error: Object doesn't support this property or method."
This is my Javascript function:
I know it's a valid Id:Code:function updateTotal(i, b) { // Declare the HTML totalHTML=i; // Find the table cell total=document.getElementById('total'); // THIS IS LINE 150 // Enter the HTML into the cell total.innerHTML=totalHTML; document.dayPlacement.subTotal.value=b; }
I'm drawing a complete blank. Any help would be had. Also, it works just as expected in FireFoxCode:<tr> <td height="47"></td> <td><b>Sub - Total:</b></td> <td><div align="right"><b id="total">0.00</b></div></td> </tr>



Reply With Quote


Bookmarks