gecko-dev/dom/events/crashtests/recursive-DOMNodeInserted.html

18 строки
366 B
HTML
Исходник Обычный вид История

2009-08-09 02:17:03 +04:00
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" onload="test()">
<INPUT id="txt1" type="text" value="">
<SCRIPT>
document.addEventListener("DOMNodeInserted",test,0);
count = 0;
function test(){
n = document.createTextNode("test");
document.body.appendChild(n);
}
</SCRIPT>
</BODY>