pjs/content/events/crashtests/recursive-DOMNodeInserted.html

18 строки
366 B
HTML

<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>