How to remove an element without id

Posted by Bryan on Stack Overflow See other posts from Stack Overflow or by Bryan
Published on 2010-04-21T18:23:40Z Indexed on 2010/04/21 18:33 UTC
Read the original article Hit count: 228

Filed under:

I have the following code:

<table>
  <tr width="100%">
    <td width="130" />
    <td id="BottomCell" width="100%" />
  <tr>
</table>

  <input type="button"/>

I want the first td to be removed from tr when the button is clicked. How can I do this? Thanks.

© Stack Overflow or respective owner

Related posts about JavaScript