If you want the first one found (but only one), use
var myText = $(this).find('.myClass1,.myClass2').eq(0).text();
If you want the first of each kind (two results), take a look at @jelbourn .
Gaby aka G. Petrioli Nov 16 '10 at 16:28 2010-11-16 16:28
source share