Question: How can I determine if some particular div has any child existed inside dom

```
<div class="profile-feed row">
   <div class="col-sm-6"> </div> // does this particular div has any child?
...
</div>

```

Answer: 
use this 

```
var count = $(".col-sm-6").children().length;

```

If you have multiple elements with this class, this method will return number of all children's from all elements with this id. To be more specific, i suggest to use id selector or add the parent selector. Please see this example on JSFiddle <http://jsfiddle.net/9qa1qm9s/>
```
if($( ".col-sm-6" ).children().length>0){
    alert('childern found')
}

```