removing siblings from the DOM
<p>I have this working code:</p>

<pre><code>  a.parentNode.removeChild(a);
</code></pre>

<p>however the structure has changed so that I need to also remove this child's previous sibling, i.e. the elelment that comes before it.  How do I update this and is there some where on Mozilla Development Netowork I can go to start looking for future reference.</p>

<p>Thanks.</p>
