I'm having a bit of a problem getting my javascript to run in Firefox (version 2.0). It works fine in IE6.
Here's the HTML:
<td>
Black Eyed Susan
</td>
<td align="center">
<input type="text" name="blackeyedsusan" value="" size="3" maxlength="3" onChange="javascript:calculatecharges();"/>
</td>
And the script:
function calculatecharges() {
var totalPackets =
Number(blackeyedsusan.value) +
... various other things... ;
When this function executes, I get the following error on the Error Console:
Error: blackeyedsusan is not defined
Any ideas?