views:

19

answers:

1

When I delete the first row in a html table, IE8 leaves a blank line at the end of the table (after the footer).

I use the method: objTable.deleteRow(objRow.rowIndex);

My table uses the tag elements: thead, tbody, tfoot.

A: 

Are you using YUI? If so, you may be interested in checking out http://developer.yahoo.com/yui/examples/datatable/dt_rowadddelete.html and use their example to see if you encounter the same issues in your browser. If you do, it's probably IE8 issue (most likely,) or a YUI issue.

You may also be interested in trying out something such as jQuery. Much more light weight, and is pretty much cross-browser compatible.

Joshua Burns