Click to See Complete Forum and Search --> : Problem when deleting rows


cajo_vcambra
12-26-2003, 04:02 AM
Hi,

I'm having a small problem every time i try to delete rows from a table. The table has, by default, one row and the other rows are dinamically added. Then i've created a function to delete all rows (except the one i've mentioned previously), that uses a for iterator starting from 1 to mytable.rows.length, but this doesn't seem to work properly, because i'm getting Invalid Argument error. Does anyone know how to fix this?

Thanks for any help you can give me,

Carlos Ferreira

Khalid Ali
12-26-2003, 07:13 AM
Since you did not provide any code to look at, its not easy to guess that what you might have wrong in that code.

Here is a resource where you can add and delete rows (http://www.webapplikations.com/pages/html_js/tables/DOMTableManipulation.html)

I am sure it will clear the question you might have in this regard