title: Alert not getting inner HTML?
body: <p>I am trying to get my java script file to capture the inner Html of an id in my HTML file and alert it. </p>
  
  <p>here is my html code</p>
  
  <pre><code>&lt;head&gt;
   &lt;script type="text/javascript" src="indexjs.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div class="topbar"&gt;
   &lt;ul&gt;
    &lt;li id="barmuhia"&gt;Job Muhia&lt;/li&gt;
  &lt;/ul&gt;
   &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>the js code  is </p>
  
  <pre><code>alert(GetElementById("barmuhia").innerHTML)
  </code></pre>