Find text within li and replace with jquery
<p>What i want to do is find a certain <code>&lt;li&gt;</code> which contains the words people and then replace this with people and an image?</p>

<p>This is the current html</p>

<pre><code>&lt;div class="subMenu"&gt;
        &lt;ul&gt;
            &lt;li class=""&gt;
               &lt;span&gt;
                   &lt;a href="/sally"&gt;People&lt;/a&gt;
               &lt;/span&gt;
            &lt;/li&gt;
            &lt;li class=""&gt;
               &lt;span&gt;
                   &lt;a href="/working-us"&gt;Working with us&lt;/a&gt;
               &lt;/span&gt;
            &lt;/li&gt;
            &lt;li class=""&gt;
               &lt;span&gt;
                   &lt;a href="/delegate"&gt;Delegate Resource&lt;/a&gt;
               &lt;/span&gt;
            &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
</code></pre>

<p>i want to replace the text 'People' with '<code>People &lt;img src="/Img/banner.png" alt=""&gt;</code>'</p>

<p>can this be done?</p>
