I have a jQuery selector, which has a chained function.
Inside the function I want to get access to the TEXT representing the expression for the selector.
well, I'm still trying to figure out if you are trying to get the element name? or the id and/or class or all of it.
You can get element with this
var element =$(this).get(0);
var id = $(this).attr('id');
var class=$(this).attr('class');
not sure what happens if you have more than one class. might go into an array or something, and you could get that with the indexes.