Firefox 3.5.2 is throwing this error. I haven't been getting any errors in Opera, Safari, or Chrome on this code. There were bugs reported with past versions of Firefox resulting in this error but nothing with this recent version that I can find. The error is non-fatal in that the page functions just fine and the error shows up only now and then as the mouse is moved over the document. Any ideas?
the section of code that it is flagging is:
Code: Select all
/* e is the event object */
for(x in e){
if(((x.charAt(0) > 'Z')&&(!capsOn)) || ((x.charAt(0) < 'a') && (capsOn))){
if((e[x] != null) && (typeof e[x] != 'undefinded'))
temp[y++] = '<span class="Bolding Class" id="spanBlock" style="font-weight:bold">' + x + ':</span> ' + e[x] + '<br>';
}
}
The offending line is:
Code: Select all
temp[y++] = '<span class="Bolding Class" id="spanBlock" style="font-weight:bold">' + x + ':</span> ' + e[x] + '<br>';
I've prequalified the heck out of e[x] in the previous line and the error didn't show up on those references.