title: If <a> has title, addClass jQuery?
body: <p>I'm trying to get jQuery automatically detect if a link has a title. I want to create a tooltip for every title attribute. </p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;a title="This is a title" href="#"&gt;link with tooltip&lt;/a&gt;
  </code></pre>
  
  <p>How can jQuery detect if a link has a title, and then add a class to that ?</p>
  
  <p>??</p>
  
  <pre><code>$(window).load(function(){ 
  
  
      $('a[title=""]').addClass('toolTip');
  
  });
  </code></pre>