title: jQuery Selectors: Select element with specific class and 'title' attribute
body: <p>This should be an easy one, but I can't find a good example anywhere. I'm trying to select a particular element on my page that has a class of 'statuslight' and a title attribute of one of three options. The option (it will depend) is stored in a variable called 'currentStatus'. I've seen some examples, and I'm guessing this is the right track, but I need to know for sure:</p>
  
  <pre><code>$(".statuslight[title]='" + currentStatus + "'");
  </code></pre>