How can I apply jQuery
if (!$('#yourDiv').children().hasClass("className")) { //i.e. yourDivID' has no any children whose class name =>'className' }