title: jquery id selector with innerHtml or innerText or textContent
body: <p>I writing a simple page to check if someone is entering the correct email twice.  I want to display in another element on the page weather or not the email in the second form block is the same as the first.  I'm using the jquery id selector.</p>
  
  <pre><code>&lt;head&gt;
  &lt;script type="text/javascript" src="jquery1.8.3-min.js"&gt;&lt;/script&gt;
  &lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  
  
      function emailCheck(){
          if($("#email").val() != $("#email2").val())
          {
              $("#err").innerText = "emails don't match, sucka";
              $("#test").textContent = "emails don't match, sucka";
              $("#test2").innerHtml = "emails don't match, sucka";
              document.getElementById("getEleTest").innerText = "emails don't match, sucka";
              alert("dont match");
          }
      }
  &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  &lt;form action="SignUp" method="POST"&gt;
      &lt;table&gt;
          &lt;label for="email"&gt;Email&lt;/label&gt;&lt;/br&gt;   
          &lt;input id="email" type ="email" name="email1111"/&gt; &lt;/br&gt;
          &lt;label for="email2" &gt; Enter Email Again &lt;/label&gt;&lt;/br&gt; 
          &lt;input id="email2" type="email" name="email21111" onkeyup="emailCheck();"&gt;&lt;/br&gt;
          &lt;input type="submit" value="Sign Up"&gt;
      &lt;/table&gt;
  &lt;/form&gt;
  
  &lt;div id="err"&gt;&lt;/div&gt;
  &lt;div id="test"&gt;&lt;/div&gt;
  &lt;div id="test2"&gt;&lt;/div&gt;
  &lt;div id="getEleTest"&gt;&lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>In all cases I don't receive any text in the elements I am err, test, and test2 elements but i do get an alert window and there is text in the getEleTest element.  What could be going on here.  I don't get any errors in the firebug console, the jquery is getting the 'email' and 'email2' elements.  I've checked that I am linking the jquery script properly and just in case I haven't I added the google jquery source.  Thanks</p>