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.
Maybe this solve your problem :
var $jqueryItems = $( ".my-selector" ); console.log( $jqueryItems.selector ); // display ".my-selector"