summaryrefslogtreecommitdiff
path: root/test/js/dom-change-event.html
blob: a6d77b8915c93fbf1eb97f11c4026d985b3325d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>