Help with jQuery append/prepend selector
<p>If I have html like so:</p>

<pre><code>&lt;div&gt;
&lt;span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;
&lt;/div&gt;
</code></pre>

<p>How would I insert some text before before the last span?
Like this:</p>

<pre><code>&lt;div&gt;
    &lt;span&gt;&lt;/span&gt;
    &lt;span&gt;&lt;/span&gt;
new text
    &lt;span&gt;&lt;/span&gt;
</code></pre>

<p>I have <code>$("div span:last").prev().append("new text");</code>
which puts the new text inside a span tag.</p>

<p><strong>Note:</strong> The number of span tags inside of the div tag can change dynamically.
        </p>
