<html> <body> <script language="JavaScript"> function function1() { document.all.myTr.deleteCell(2); } </script> <table> <tr id="myTr"> <td>Cell 1</td> <td>Cell 2</td> <td>Cell 3</td> <td>Cell 4</td> </tr> </table> <input type="button" value="Remove Cell 3" onclick="function1();"> </body> </html>