and let's say i want to delete #table-0-1...Code:<table id="table-0"> <tr id="table-0-0"> <td>STUFF</td> </tr> <tr id="table-0-1"> <td>STUFF</td> </tr> </table>
but i get this error...Code:var parent = document.getElementById("table-0"); var child = document.getElementById("table-0-1"); parent.removeChild(child);
Error: uncaught exception: [Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)"






Bookmarks