How can I remove an element from a list returned by a jQuery selector?
<p>I would like to uncheck all checkboxes that have a specific class with the exception of the one just checked.</p>

<pre><code>function PizzaToppings_OptionValueChanged(checkboxElement) {
    if ($(checkboxElement).attr("checked")) {
        if($(checkboxElement).hasClass('cheese_toppings'))
        {
            // This will uncheck all other "cheese_toppings" but I want the newly selected item "checkboxElement" to remain checked.
            $('input:checkbox.cheese_toppings').attr('checked', false);
        }
    }
}
</code></pre>

<p>The code above will uncheck all "cheese_toppings" including the one just selected.  I don't want to then recheck the one just selected or the event will be recalled.</p>

<p>I thought the best solution would be to remove "checkboxElement" from the list returned by <code>$('input:checkbox.cheese_toppings')</code> and then set the <code>.attr('checked', false)</code> to that list. But I'm not sure how to remove checkboxElement from the list.</p>
