By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,825 Members | 1,061 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,825 IT Pros & Developers. It's quick & easy.

how to delete current column of html table?

nirmalsingh
100+
P: 218
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.
Feb 12 '07 #1
Share this Question
Share on Google+
1 Reply

acoder
Expert Mod 15k+
P: 16,027
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.
Feb 12 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.