Deleting buttons with Id higher than the clicked one
<p>I don't understand why my code doesn't work.</p>

<p>I create dynamically groups of three buttons: the first button of the group has id 1, the second 101 and the third 201; buttons of the second group will be named respectively 2, 102 and 202, and so on.</p>

<p>If I want to delete all the three buttons by clicking the last one it works. This is what I set in the onclick event :</p>

<pre><code>butt.onclick = function() {
    removeElement(this.id);
    removeElement(this.id-100);
    removeElement(this.id-200);
}
</code></pre>

<p>But if I want to delete all the three buttons by clicking the middle one with this onclick event:</p>

<pre><code>butt.onclick = function() {
    removeElement(this.id+100);
    removeElement(this.id);
    removeElement(this.id-100);
}
</code></pre>

<p>it eliminates only buttons 1 and 101 but not 201.</p>

<p>It seems like it doesn't like the "this.id+100" value. What's the reason?</p>

<p>Thanks in advance.</p>
