selectorReturns: Stringversion deprecated: 1.7, removed: 3.0
Description: A selector representing selector passed to jQuery(), if any, when creating the original set.
version added: 1.3selector
$.fn.foo = function( selector, options ) { /* plugin code goes here */ };
, and the person using the plugin would write $( "div.bar" ).foo( "div.bar", {dog: "bark"} );
with the "div.bar"
selector repeated as the first argument of .foo()
.