Lines Matching refs:selector
153 jQuery = function( selector, context ) { argument
157 return new jQuery.fn.init( selector, context );
755 function Sizzle( selector, context, results, seed ) { argument
765 if ( typeof selector !== "string" || !selector ||
780 if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) {
817 push.apply( results, context.getElementsByTagName( selector ) );
831 !nonnativeSelectorCache[ selector + " " ] &&
832 ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) &&
838 newSelector = selector;
849 ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) {
852 newContext = rsibling.test( selector ) && testContext( context.parentNode ) ||
868 groups = tokenize( selector );
883 nonnativeSelectorCache( selector, true );
894 return select( selector.replace( rtrim, "$1" ), context, results, seed );
2088 "not": markFunction( function( selector ) { argument
2095 matcher = compile( selector.replace( rtrim, "$1" ) );
2120 "has": markFunction( function( selector ) { argument
2122 return Sizzle( selector, elem ).length > 0;
2313 tokenize = Sizzle.tokenize = function( selector, parseOnly ) { argument
2316 cached = tokenCache[ selector + " " ];
2322 soFar = selector;
2377 Sizzle.error( selector ) :
2380 tokenCache( selector, groups ).slice( 0 );
2386 selector = "";
2388 selector += tokens[ i ].value;
2390 return selector;
2474 function multipleContexts( selector, contexts, results ) { argument
2478 Sizzle( selector, contexts[ i ], results );
2504 function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { argument
2519 selector || "*",
2525 matcherIn = preFilter && ( seed || !selector ) ?
2792 compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { argument
2796 cached = compilerCache[ selector + " " ];
2802 match = tokenize( selector );
2816 selector,
2821 cached.selector = selector;
2835 select = Sizzle.select = function( selector, context, results, seed ) { argument
2837 compiled = typeof selector === "function" && selector,
2838 match = !seed && tokenize( ( selector = compiled.selector || selector ) );
2861 selector = selector.slice( tokens.shift().value.length );
2865 i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length;
2884 selector = seed.length && toSelector( tokens );
2885 if ( !selector ) {
2898 ( compiled || compile( selector, match ) )(
2903 !context || rsibling.test( selector ) && testContext( context.parentNode ) || context
3077 find: function( selector ) { argument
3082 if ( typeof selector !== "string" ) {
3083 return this.pushStack( jQuery( selector ).filter( function() {
3095 jQuery.find( selector, self[ i ], ret );
3100 filter: function( selector ) { argument
3101 return this.pushStack( winnow( this, selector || [], false ) );
3103 not: function( selector ) { argument
3104 return this.pushStack( winnow( this, selector || [], true ) );
3106 is: function( selector ) { argument
3112 typeof selector === "string" && rneedsContext.test( selector ) ?
3113 jQuery( selector ) :
3114 selector || [],
3133 init = jQuery.fn.init = function( selector, context, root ) { argument
3137 if ( !selector ) {
3146 if ( typeof selector === "string" ) {
3147 if ( selector[ 0 ] === "<" &&
3148 selector[ selector.length - 1 ] === ">" &&
3149 selector.length >= 3 ) {
3152 match = [ null, selector, null ];
3155 match = rquickExpr.exec( selector );
3205 return ( context || root ).find( selector );
3210 return this.constructor( context ).find( selector );
3214 } else if ( selector.nodeType ) {
3215 this[ 0 ] = selector;
3221 } else if ( isFunction( selector ) ) {
3223 root.ready( selector ) :
3226 selector( jQuery );
3229 return jQuery.makeArray( selector, this );
3315 add: function( selector, context ) { argument
3318 jQuery.merge( this.get(), jQuery( selector, context ) )
3323 addBack: function( selector ) { argument
3324 return this.add( selector == null ?
3325 this.prevObject : this.prevObject.filter( selector )
3391 jQuery.fn[ name ] = function( until, selector ) { argument
3395 selector = until;
3398 if ( selector && typeof selector === "string" ) {
3399 matched = jQuery.filter( selector, matched );
5124 function on( elem, types, selector, data, fn, one ) { argument
5131 if ( typeof selector !== "string" ) {
5134 data = data || selector;
5135 selector = undefined;
5138 on( elem, type, selector, data, types[ type ], one );
5146 fn = selector;
5147 data = selector = undefined;
5149 if ( typeof selector === "string" ) {
5158 data = selector;
5159 selector = undefined;
5181 jQuery.event.add( this, types, fn, data, selector );
5193 add: function( elem, types, handler, data, selector ) { argument
5209 selector = handleObjIn.selector;
5214 if ( selector ) {
5215 jQuery.find.matchesSelector( documentElement, selector );
5254 type = ( selector ? special.delegateType : special.bindType ) || type;
5266 selector: selector,
5267 needsContext: selector && jQuery.expr.match.needsContext.test( selector ),
5295 if ( selector ) {
5308 remove: function( elem, types, handler, selector, mappedTypes ) { argument
5330 jQuery.event.remove( elem, type + types[ t ], handler, selector, true );
5336 type = ( selector ? special.delegateType : special.bindType ) || type;
5349 ( !selector || selector === handleObj.selector ||
5350 selector === "**" && handleObj.selector ) ) {
5353 if ( handleObj.selector ) {
5480 sel = handleObj.selector + " ";
5919 on: function( types, selector, data, fn ) { argument
5920 return on( this, types, selector, data, fn );
5922 one: function( types, selector, data, fn ) { argument
5923 return on( this, types, selector, data, fn, 1 );
5925 off: function( types, selector, fn ) { argument
5935 handleObj.selector,
5944 this.off( type, selector, types[ type ] );
5948 if ( selector === false || typeof selector === "function" ) {
5951 fn = selector;
5952 selector = undefined;
5958 jQuery.event.remove( this, types, fn, selector );
6139 function remove( elem, selector, keepData ) { argument
6141 nodes = selector ? jQuery.filter( selector, elem ) : elem,
6243 detach: function( selector ) { argument
6244 return remove( this, selector, true );
6247 remove: function( selector ) { argument
6248 return remove( this, selector );
6389 jQuery.fn[ name ] = function( selector ) {
6392 insert = jQuery( selector ),
8412 hasClass: function( selector ) { argument
8416 className = " " + selector + " ";
9938 unwrap: function( selector ) { argument
9939 this.parent( selector ).not( "body" ).each( function() {
10351 var selector, type, response,
10356 selector = stripAndCollapse( url.slice( off ) );
10388 self.html( selector ?
10392 jQuery( "<div>" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :
10713 delegate: function( selector, types, data, fn ) { argument
10714 return this.on( types, selector, data, fn );
10716 undelegate: function( selector, types, fn ) { argument
10720 this.off( selector, "**" ) :
10721 this.off( types, selector || "**", fn );