diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/js/dom-change-event.html | 17 | ||||
-rw-r--r-- | test/js/index.html | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/test/js/dom-change-event.html b/test/js/dom-change-event.html new file mode 100644 index 000000000..a6d77b891 --- /dev/null +++ b/test/js/dom-change-event.html @@ -0,0 +1,17 @@ +<html> + <head> + <title>DOM Change event handling</title> + <script type="text/javascript"> + document.addEventListener("DOMNodeInserted", + function(ev) { + console.log("\n\nHELLO WORLD!\n\n"); + console.log(ev); + console.log("\n\n"); + }, false); + console.log("Moooo!"); + </script> + </head> + <body> + <div>I got inserted</div> + </body> +</html> diff --git a/test/js/index.html b/test/js/index.html index f282ca4c8..2abe954e5 100644 --- a/test/js/index.html +++ b/test/js/index.html @@ -90,6 +90,7 @@ <li><a href="event-onload.html">window.onload</a></li> <li><a href="event-onloadfrombody.html">body.onload</a></li> <li><a href="event-onclick.html">button.onclick</a></li> +<li><a href="dom-change-event.html">DOMNodeInserted</a></li> </ul> |