Restricting droppable elements on div
<p>I'm creating and appending a droppable div element like this : </p>

<pre><code>    var drop = {
                  drop: function(event, ui) {
                      var add = $("#"+this.id);
                      $('&lt;div id='+counter+' "&gt;&lt;div class="myCss"&gt;here&lt;/div&gt;&lt;/div&gt;').droppable( drop ).appendTo( "#myDivs");
                      //debugger;
                      counter++;
                  }
                };
</code></pre>

<p>Can I update this div to just allow divs of a certain id or css to be allowed to be dropped ?</p>
