Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

divcontainer is null

<body>
  <button id="test">click me</button>
  <script>
    document.getElementById("test").addEventListener("click", function() {
      console.log("clicked: %o", this);
    });
  </script>
</body><!-- closing body tag -->
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #divcontainer #null
ADD COMMENT
Topic
Name
7+9 =