Alright, I've had this problem for a while, but haven't been able to figure out what's causing it. After searching forever looking through manuals and such, I think I found the answer though I don't know how to solve it.
First, here is the code:
[CODE=javascript]var thetable = document.getEle mentById(theHd) ;
var oldrow = document.getEle mentById('nopar t');
if (oldrow) {thetable.tBodi es[0].removeChild(ol drow);}[/CODE]
theHd switches between table ID's (hdpart-1, hdpart-2, hdpart-3). There is one row in each table that needs to be removed. When it comes time to remove that row with the code above, it will work with the first table (hdpart-1), but will not remove anything from the other tables and spits out a DOM exception 8 error.
I searched all over for the answer and found the following: Link 1 , Link 2.
Alright, so it's spitting out a NOT_FOUND_ERR, but how do I solve this? I can't really understand why it would remove the row from the first table only, but ignores it in all of the other tables? Thanks.
First, here is the code:
[CODE=javascript]var thetable = document.getEle mentById(theHd) ;
var oldrow = document.getEle mentById('nopar t');
if (oldrow) {thetable.tBodi es[0].removeChild(ol drow);}[/CODE]
theHd switches between table ID's (hdpart-1, hdpart-2, hdpart-3). There is one row in each table that needs to be removed. When it comes time to remove that row with the code above, it will work with the first table (hdpart-1), but will not remove anything from the other tables and spits out a DOM exception 8 error.
I searched all over for the answer and found the following: Link 1 , Link 2.
Alright, so it's spitting out a NOT_FOUND_ERR, but how do I solve this? I can't really understand why it would remove the row from the first table only, but ignores it in all of the other tables? Thanks.
Comment