ject that was removed <em>in addition to the first object&#39;s properties being modified</em>. If the first button was focused and the rendering engine removes it, then focus goes back to <code>&lt;body&gt;</code> as expected, but if the rendering engine removes the second button and modifies the text content of the first, then the focus will be on the wrong button after the update.</p>
<p>Worse still, if there were stateful jQuery plugins attached to these buttons, they could potentially have incorrect in