title: Putting restrictions on button
body: <p>In my program an area called 'validDrop' is highlighted for the user to drag and drop items into. </p>
  
  <p>A new area is highlighted when the button, 'minibutton' is clicked.</p>
  
  <p>I want to tell the program to only allow the button to be clicked if the current area (validDrop) is styled by 'wordglow2' and 'wordglow4'.</p>
  
  <p>I have tried this, Why won't it work?</p>
  
  <pre><code>if ($(validDrop).hasClass('wordglow2', 'wordglow4')) {
      $('.minibutton').click(true);
  } else {
      $('.minibutton').click(false);
  }
  </code></pre>