title: Changing h- text with jQuery
body: <p>I want to change the text of a h2.
  If I use alert, it shows undefined with .html and .val, so, wouldn't it be something like this?:</p>
  
  <p><code>$("#h2Id").text("new text");</code></p>
  
  <p>It doesn't work, though.
  Thanks in advance.</p>
  
  <p>edit:
  the html is plain simple, as I'm trying to understand why it doesn't work.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
      &lt;script type="text/javascript" src="jquery.js"&gt;&lt;/script&gt;    
      &lt;link href="css/estilos.css" rel="stylesheet" type="text/css"/&gt;
      &lt;script type="text/javascript" src="testingStuff.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;h2 id="question"&gt; ASD &lt;/h2&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p></p>