cont from here: http://stackoverflow.com/questions/1444469/jquery-droppable-accept
$(".droppable").droppable({
accept: function(d) {
if(d.hasClass("foo")||(d.attr("id")=="bar")){
return true;
}
}
});
what if i wasn't targeting an element but a set of elements? like "ul#moo li" for example. how would i change the IF condition???