title: Calling Javascript function from a div
body: <p>Can I please have some help to call a function that is created in Javascript when a reference is made to a DIV in HTML.</p>
  
  <p>Here is my function:</p>
  
  <pre><code>        function testFunction()
          {
              alert("Test");
          }
  </code></pre>
  
  <p>I would like the testFunction to be called when the following reference is made in HTML:</p>
  
  <pre><code>&lt;div id="testFunction"&gt; 
  </code></pre>
  
  <p>Can I please have some help to do this?</p>