Match text to attribute value w/ jQuery

If I have the following vars

var $  headers = $  ("#myTbl th").not(":first");

var $  this = $  (this);

How do I match $ this.text();
to the text within title tag inside th?

<th title="match this title">value</th>

This does not seem to work:

$  headers.filter(":contains(" + $  this.text() + ")");

newest questions tagged jquery – Stack Overflow

About Admin