I need to remove a particular element within a container if it exists. The below code alerts to tell me the element exists but for whatever reason, does not remove and oes not provide any error messages. 

```
var second_page_item = $('DIV#discount_0 > .element .first_static .second_page .isotope-item');
if($(second_page_item).length == 0) {
    alert('it here');
    $(second_page_item).remove(); //WHY DOESNT IT REMOVE?
}

```