title: How to change a text with jQuery
body: <p>I have an <code>h1</code> with id of <code>toptitle</code> that is dynamically created, and I am not able to change the HTML.
  It will have a different title depends on a page. Now when it is Profile, I want to change it to <code>New word</code> with jQuery.</p>
  
  <pre><code>&lt;h1 id="toptitle"&gt;Profile&lt;/h1&gt; // Changing only when it is Profile  
  // to
  &lt;h1 id="toptitle"&gt;New word&lt;/h1&gt;
  </code></pre>
  
  <p>Note: If the text is <code>Profile</code>, then change it to <code>New word</code>.</p>