I have a div (let\'s say the id is \"container\") with many elements in it, including a select element. I\'d like to select all everything in the div except the select. Thin
You can also try it using traversing methods:
$('#container').children().not('#selectorId');
or being a final option:
$('#container').children().filter(function(){ return $(this).attr('id') !== 'selectorId'; }