removeChild

admin

Administrator
Staff member
Hi,
nodemap looks like:

1. HTML
......11. TABLE
.........1. TBODY
............1. TR
............2. TR
......12. INPUT
......13. INPUT

The last INPUT (type=button) should remove the last TR (in this case number 2). What's wrong in this: onClick=this.previousSibling.previousSibling.lastChild.removeChild(this.previousSibling.previousSibl ing.lastChild.lastChild)

Thanks in advance!
 
Back
Top