title: Onmousedown in JavaScript not working --help!
body: <p>The following function is supposed to execute during the "onload" event of my webpage.</p>
  
  <pre><code>function setUpTranslation() {
     var phrases = document.getElementsByTagName("p");
  
     for (i = 0; i&lt;phrases.length; i++) {
        phrases[i].number = i;
        phrases[i].childNodes[1].innerHTML = french[i];
  
        phrases[i].childNodes[1].onMouseDown = alert("Hello World");
    }
  }
  </code></pre>
  
  <p>Can anyone tell me why the alert happens each time through the For loop?  I'm expecting that it would only happen when the user presses the mouse on one of the phrases in my list.</p>
  
  <p>Someone said that onmousedown shouldn't be capitalized but when I do that I get an error saying "not implemented"</p>
  
  <p>Thank you in advance for your help.</p>