Delete a Cell : Cell : Table JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Table » Cell »

 

Delete a Cell



    
<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>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Table
» Cell