jon wrote:
Quote:
I'm trying to add a row to a table and I think I'm not doing something
right. The sample code below contains a table with 4 single cell rows,
a button and a javascript function that the button runs.
In Netscape 7.0 and Firefox 0.8 the code below does add a row to the
table when the button is clicked but the alert() shows 4 instead of 5
like I'd expect.
snip
|
The example code didn't add a new row in my IE6. If you add the alert to
see the # of rows at the end of the add/delete row functions on this
page it works. The page claims thir code Browser Support is:
- works in Internet Explorer 6, Netscape 6, and Mozilla 1.6.
- will not work in Netscape 4 and below or IE 5 and below.
http://www.mredkj.com/tutorials/tableaddrow.html
Mike