uncaught exception: [Exception... "Could not convert JavaScript argument arg 1 [nsIDOMHTMLTableSectionElement.insertBefore]" nsresult: "0x80570009

Bug #63739 reported by dirar
4
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Invalid
Undecided
David Farning

Bug Description

I am getting this error:

uncaught exception: [Exception... "Could not convert JavaScript argument arg 1 [nsIDOMHTMLTableSectionElement.insertBefore]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://127.0.0.1/work/PNGO/TMPSITES/s7/Administration/asp/ManMenLst.asp :: getMenuChildren :: line 129" data: no]

when executing this JS code:

tbody.insertBefore( newRow , rowObj.rowIndex + 1 );

Revision history for this message
dirar (dxz2) wrote :

I solved it like this:
changed
-> tbody.insertBefore( newRow , rowObj.rowIndex + 1 );
to
-> tbody.insertBefore( newRow , tbody.rows[rowObj.rowIndex+1] );

thanks

Revision history for this message
David Farning (dfarning) wrote :

This does not appeare to be a firefox issue.

Thanks
David

Changed in firefox:
assignee: nobody → dfarning
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.