mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-09 09:20:15 +01:00
18 lines
476 B
HTML
18 lines
476 B
HTML
|
<HTML>
|
||
|
<BODY onload="run()">
|
||
|
<SCRIPT>
|
||
|
<!--
|
||
|
function run(){
|
||
|
var tbl = document.body.appendChild(document.createElement("TABLE"));
|
||
|
//alert("Appending TR to TABLE");
|
||
|
var tr = tbl.appendChild(document.createElement("TR"));
|
||
|
var tmp_td = document.createElement("TD")
|
||
|
var td1 = tr.appendChild(tmp_td); // <-- Causes Crash
|
||
|
var td1_text = td1.appendChild(document.createTextNode("testing"));
|
||
|
}
|
||
|
//-->
|
||
|
</SCRIPT>
|
||
|
</BODY>
|
||
|
</HTML>
|
||
|
|