Question: Right now I have some html that looks like this once rendered. 

```
<div id="MyPartial">
    <div id="div+1"></div>
    <div id="div+2"></div>
    <div id="div+3"></div>
</div>

```

All of the div's inside of the MyPartial div are dynamic. so there could be 3, or there could be none. I am trying to remove them one at a time via there ID.

```
$("#div+" + Id).remove() 

```

this didn't work so i tried this

```
$("#MyPartial").children().select("#div+" + Id).remove();

```

This removes the entire 'MyPartial' div. 

What am I missing? The first statement has always worked fine for me in the past but it seems like the nesting is messing things up now.

Edit: the plus sign was messing me up. I changed it to an underscore and it works fine. thanks everyone.

Answer: 
The `+` is not allowed in class- and id-attributes. In CSS `+` has a selector-meaning. It means: select the next neighbour-element.

Maybe that's why jQuery can't select your elements. Try to give your ids other names like `div_1`, 'div\_2`,...

Afterwards you can select an element by its id like so `$('#div_1')`.

Since ids should be unique within the whole document this selector should be the same as `$('#myPartial #div_1')`
Try this 

```
$("#MyPartial #div+" + Id).remove();

```