title: jQuery if Element has an ID?
body: <p>How would I select elements that have any ID? For example:</p>
  
  <pre><code>if ($(".parent a").hasId()) {
      /* then do something here */
  }
  </code></pre>
  
  <p>I, by no means, am a master at jQuery.</p>