IE 7 jquery bind and $(this)
<p>I have treeview script and part of it looks like :</p>

<pre><code>root.find("." + classControl).each(function () {
    $(this).bind('click', function () {
        if ($(this).text() == "-") {
            $(this).text("+");
        }
        else {
            $(this).text("-");
        }
        $(this).parentsUntil("li").parent().children("ul").toggle();
    });
});
</code></pre>

<p>It should find all collapse/show buttons and bind them proper function. It works in FF,Chrome,IE 8 but not in IE7 not. When I click on the button, it changes from + to - or the reverse, but it also sets all other buttons to empty text. </p>

<p>I think the problem must be with the this selector, because if I bind only simple alert(), it works even in IE7</p>
