how to delete current column of html table?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nirmalsingh
    New Member
    • Sep 2006
    • 218

    how to delete current column of html table?

    hi all,
    i want to delete current column of a html table by clicking a button. is it possible to do that? i tried to delete a current row of a table it works fine but i want to know how to do the same for column.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    You'll have to do this manually. Loop through all the rows and remove the cell that appears in that particular column. Use the cells[] array for each row. See this page.

    Comment

    Working...