title: Why doesn't jQuery bomb if your selector object is invalid?
body: <p>Was recently using some code along the lines of </p>
  
  <pre><code>$("#divMenuContainer:visible").hide("explode");
  </code></pre>
  
  <p>However after some time spent trying to get it to work I realized my selector was referencing a div that didnt exist.</p>
  
  <p>The result of the query was simply that it didn’t execute. </p>
  
  <p>Obviously this is by design, could anyone explain the logic of why this design choice was made rather than raise some sort of exception?</p>
  
  <p>Not trying to criticise just trying to understand.</p>