Appending to Second Last element
<p>This is the final output
<img src="http://img2.pict.com/cc/dc/64/3257730/0/20100330041140.png" alt="Output"></p>

<p>My HTML</p>

<pre><code>&lt;li id='$id'&gt;TEXT
    &lt;ul class='indent'&gt;
        &lt;li id='$id'&gt;TEXT&lt;/li&gt;
        &lt;li id='$id'&gt;TEXT&lt;/li&gt;
        &lt;li class='formContainer'&gt; FORM &lt;/li&gt;
    &lt;/ul&gt;
&lt;/li&gt;
</code></pre>

<p>I want to append a <code>li</code> between <code>form</code> after all other <code>li</code> So in this example new li will be appended between <code>Test141</code> APPEND <code>Input Box</code></p>

<p>The <code>$id</code> are db ids of li which are unique</p>
