Message Thread: |
View All MessagesBack to WebFX |
Quirksmode says about rows[]: -Safari makes a mess of this array. Its length is too large and the parent node of a row is a TR. And about cells[]: -Safari counts only one cell. Why don't you test it there (cells and rows) and report back with what you get for those two? Maybe a fix can be added. http://www.quirksmode.org/dom/tests/table_access.html Note the Safari workaround test for cells there: -document.getElementsByTagName('tr')[0].cells.length) (test for Safari; evade rows[] bugs) |