How do I get a jQuery selector’s expression as text?

There is a ‘selector’ attribute in the jQuery object, but I’m not sure it’s always available.

Leave a Comment