Replace All innerhtml text with Javascript
<p>I've been trying for hours and I've looked a lot of samples on StackOverflow, but I can't fix my simple script.</p>

<p>I grabbed DOM with jQuery</p>

<pre><code>var color = $('#bscontainer').html();
</code></pre>

<p>and now the content of color is:</p>

<pre><code>&lt;img src="resources/P/Blue_BG_2Col.png" id="bg"&gt;
&lt;img src="resources/P/Blue_Content_2Col.png" id="content"&gt;
&lt;img src="resources/P/Blue_Title_ExchangeRate.png" id="title"&gt;
&lt;img src="resources/P/Blue_SubTitle_2Col.png" id="subtitle"&gt;
&lt;img src="resources/P/Blue_Disclaimer_Disclaimer.png" id="disclaimer"&gt;
</code></pre>

<p>My idea is to change all the Blue to Green, and I already try this:</p>

<pre><code>curColor="Blue";
newColor="Green";
t=color.replace(curColor,newColor);
</code></pre>

<p>It simply doesn't works. Any ideas?</p>
