Klikajac fillTable (pod firefoxem) w td o id content tworzone sa
jednowierszowe tabele ktore sie wyswietlaja. Pod IE tabele sie tworza,
sa jako dzieci owego td (sprawdzalem w dom inspect) jednak nie odswieza
sie content tego td - nie widac zmian. Co z tym zrobic ?
<html> <head> </head> <script type="text/javascript"> function fillTable() { var oTable = document.createElement("table"); var oTr = oTable.appendChild(document.createElement("tr")); var oTd = oTr.appendChild(document.createElement("td")); oTd.innerHTML = "aaa"; var content = document.getElementById("content"); content.appendChild(oTable); } </SCRIPT> <body> <table> <tr> </tr> </table> </body> </html>
ok problem sie rozwiazal, trzeba samemu dodawac tBody, firefox go ignoruje i wyswietla tabele
tak czy inaczej, IE nie