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: 
Use `$("#div+" + Id).remove()`. 

That being said, ids are unique, always. Or they should. So, there is no need to find within the parent. See 

> 
> 7.5.2 Element identifiers: the id and class attributes
>  Attribute definitions
>  id = name [CS]
>  This attribute assigns a name to an element. This name must be unique in a document.
> 
> 
> 

See [the refference](http://www.w3.org/TR/html401/struct/global.html#h-7.5.2)

Edit: Based on comments, it is right to say this does not work and this work

> 
> $('#div\\+1').remove();
> 
> 
> 

Again, that being said, see [this question](https://stackoverflow.com/questions/70579/what-are-valid-values-for-the-id-attribute-in-html), although the plus sign is not forbidden to my understanding, jquery has issues with it. If possible, I would remove the plus sign, if not, then use the escaped version.
IDs should ALWAYS BE DISTINCT ...

Try making them classes, then you can use `$("#MyPartial .div+" + Id)`

If `div+1` is an id twice, only the first one can be accessed.

If the IDs are truly unique (DISTINCT), then just use `$("#div+1")`