Hi, I have a div that's added on the fly with JS... and I need to be able to remove it on the fly as well. Here's the code-- right now, when I click "remove" it ends up taking out that <td> (with "blah blah blah"), but I need it to bump up two levels and remove the whole enclosing <div> (or alternately, the <tr>).
I tried adding more "parentNode." to the onClick statement to see if it would climb up the levels, but that didn't work, and I don't know why :-)
<div> <!-- added on the fly -->
<td style='vertical-align: top;'>here is a cell</td>
<td style='width: 10px;'></td>
blah blah blah