title: window.onload Uncaught TypeError: undefined is not a function
body: <p>There are many other questions on this error, and I've read many of them, but I still don't see what I am doing wrong here. </p>
  
  <pre><code>window.onload = function getProgram() {
      var prog_name = document.URL.split('=')[2];
      console.log(prog_name); //this outputs correctly
      document.getElementByID("program_name").innerHTML = "Program: " + prog_name;
      return true;
  }
  </code></pre>
  
  <blockquote>
    <p>Uncaught TypeError: undefined is not a function
        getProgram</p>
  </blockquote>
  
  <p>Here is the html for the object that I am trying to update:</p>
  
  <pre><code>&lt;div id="program_name"&gt;&lt;label&gt;&lt;/label&gt;&lt;/div&gt;
  </code></pre>