How to change a text with jquery
<p>h1 with id of toptitle is dynamically created and I am not able to change it.
It will have a different title depends on a page. Now when it is Profil, I want to change it to "New word" with jquery.</p>

<pre><code>Changing only when it is Profile  

&lt;h1 id="toptitle"&gt;Profil&lt;/h1&gt;

to

&lt;h1 id="toptitle"&gt;New word&lt;/h1&gt;
</code></pre>

<p>Nore: If the text is Profil then change it to New word.</p>

<p>Any help will be appreciated.
Thanks in advance.</p>
