uncaught exception: [Exception... "Could not convert JavaScript argument arg 1 [nsIDOMHTMLTableSectionElement.insertBefore]" nsresult: "0x80570009
Bug #63739 reported by
dirar
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 [nsIDOMHTMLTabl
when executing this JS code:
tbody.insertBefore( newRow , rowObj.rowIndex + 1 );
To post a comment you must log in.
I solved it like this: rowObj. rowIndex+ 1] );
changed
-> tbody.insertBefore( newRow , rowObj.rowIndex + 1 );
to
-> tbody.insertBefore( newRow , tbody.rows[
thanks