Change Text using jQuery
<p>I have a script that is pulling in news from Yahoo on a certain subject. It renders the title of the news feed like this: </p>

<pre><code>&lt;div class="header-title"&gt;subject - Yahoo! News Search Results&lt;/div&gt;
</code></pre>

<p>I would like to change this to read differently. Since this is inserted via JS I thought I could change this with jQuery. </p>

<p>I attempted this: </p>

<pre><code>$('.header-title').text('Subject News');
</code></pre>

<p>that did not work, I then attempted this: </p>

<pre><code>$('.header-title').empty();
$('.header-title').text('Subject News');
</code></pre>

<p>that also did not work. </p>

<p>Both of the above methods look as if they had no effect on the text.</p>

<p>I am not sure what to do to remove the old text and replace with my text.</p>

<p>Note: All of my code is inside jQuery's Document Ready IE: </p>

<pre><code>$(function(){ 
   //Code Here 
});    
</code></pre>
