If you wanted to select all elements which have a title attribute set, you could do the following
title
// Looks for a title attribute in element $('[title]') // Looks for a title attribute and the value isn't empty (i.e. title="") $('[title!=]')