87,955
社区成员
![](https://csdnimg.cn/release/cmsfe/public/img/topic.427195d5.png)
![](https://csdnimg.cn/release/cmsfe/public/img/me.40a70ab0.png)
![](https://csdnimg.cn/release/cmsfe/public/img/task.87b52881.png)
![](https://csdnimg.cn/release/cmsfe/public/img/share-circle.3e0b7822.png)
$("#parent").find("div")
$(document).ready(function(){
if($('#parent').find("#10011").length == 0){//这里是判断是否包含。
alert('不在');
}else{
alert('在');
}
})
$(document).ready(function(){
if($('#parent').find("#100").length == 0){
alert('不在');
}else{
alert('在');
}
}
用了jqery.