You can use simply css child selector as below mentioned. It will apply direct children not just any descendant.
Note: As per http://w3.org standards you can't make the div direct children of ul. The div tag should come inside the li's.
jQuery("#myul > li").click(function(){
alert('hey!');
});