div「hola」と子以外のすべての要素を選択する方法
<body>
<div id="hola">
<div>example</div>
<span>example</span>
</div>
<div>not selected</div>
<span>not selected</span>
</body>
$(document).ready(function() {
$(":not(#hola > *)").click(function(){
console.log("sdf");
});
});