| <html> | |
| <head> | |
| <script type="text/javascript"> | |
| function showBug() { | |
| var table, row, cell; | |
| table = document.createElement("table"); | |
| document.body.appendChild(table); | |
| row = table.insertRow(0); | |
| row.insertCell(0).appendChild(document.createTextNode("row 1")); | |
| row = table.insertRow(1); | |
| row.insertCell(0).appendChild(document.createTextNode("row 2")); | |
| row = table.insertRow(2); | |
| row.insertCell(0).appendChild(document.createTextNode("row 3")); | |
| } | |
| </script> | |
| </head> | |
| <body onLoad="showBug();"> | |
| <p>You should see three rows below labeled "row 1", "row 2", "row 3", from top to bottom.</p> | |
| </body> | |
| </html> |