title: jQuery [attribute] selector only returning first element, not all
body: <p>I'm trying to apply styling to all elements with a title attribute. For some reason this code is only returning the first, not all. I'm probably missing something obvious... Any help would be great, thanks!</p>
  
  <pre><code>$("[title]").each(function() {
  
     doSomething(this);
  
  }
  </code></pre>