<input type='button' value="Удали меня" onclick="rem(this)"> <script type='text/javascript'> function rem(th){ th.parentNode.removeChild(th); } </script>