Lines Matching refs:jQuery
20 _jQuery = window.jQuery,
24 jQuery = window.jQuery = window.$ = function( selector, context ) {
26 return new jQuery.fn.init( selector, context );
35 jQuery.fn = jQuery.prototype = {
57 selector = jQuery.clean( [ match[1] ], context );
66 return jQuery().find( selector );
69 var ret = jQuery( elem || [] );
78 return jQuery( context ).find( selector );
82 } else if ( jQuery.isFunction( selector ) )
83 return jQuery( document ).ready( selector );
91 return this.setArray(jQuery.isArray( selector ) ?
93 jQuery.makeArray(selector));
123 var ret = jQuery( elems );
155 return jQuery.each( this, callback, args );
162 return jQuery.inArray(
174 return this[0] && jQuery[ type || "attr" ]( this[0], name );
185 jQuery.attr(
189 name, jQuery.prop( this, options[ name ], type, i, name )
207 jQuery.each( text || this, function(){
208 jQuery.each( this.childNodes, function(){
212 jQuery.fn.text( [ this ] );
222 var wrap = jQuery( html, this[0].ownerDocument ).clone();
242 jQuery( this ).contents().wrapAll( html );
248 jQuery( this ).wrapAll( html );
279 return this.prevObject || jQuery( [] );
292 jQuery.find( selector, this[0], ret );
295 return this.pushStack( jQuery.unique(jQuery.map(this, function(elem){
296 return jQuery.find( selector, elem );
304 if ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) {
320 return jQuery.clean([html.replace(/ jQuery\d+="(?:\d+|null)"/g, "").replace(/^\s*/, "")])[0];
333 var events = jQuery.data( orig[i], "events" );
337 jQuery.event.add( this, type, events[ type ][ handler ], events[ type ][ handler ].data );
351 jQuery.isFunction( selector ) &&
352 jQuery.grep(this, function(elem, i){
356 jQuery.multiFilter( selector, jQuery.grep(this, function(elem){
362 var pos = jQuery.expr.match.POS.test( selector ) ? jQuery(selector) : null,
368 if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selector) ) {
369 jQuery.data(cur, "closest", closer);
382 return this.pushStack( jQuery.multiFilter( selector, this, true ), "not", selector );
384 selector = jQuery.multiFilter( selector, this );
388 return isArrayLike ? jQuery.inArray( this, selector ) < 0 : this != selector;
393 return this.pushStack( jQuery.unique( jQuery.merge(
396 jQuery( selector ) :
397 jQuery.makeArray( selector )
402 return !!selector && jQuery.multiFilter( selector, this ).length > 0;
414 if( jQuery.nodeName( elem, 'option' ) )
418 if ( jQuery.nodeName( elem, "select" ) ) {
434 value = jQuery(option).val();
463 if ( jQuery.isArray(value) && /radio|checkbox/.test( this.type ) )
464 this.checked = (jQuery.inArray(this.value, value) >= 0 ||
465 jQuery.inArray(this.name, value) >= 0);
467 else if ( jQuery.nodeName( this, "select" ) ) {
468 var values = jQuery.makeArray(value);
470 jQuery( "option", this ).each(function(){
471 this.selected = (jQuery.inArray( this.value, values ) >= 0 ||
472 jQuery.inArray( this.text, values ) >= 0);
505 return this.pushStack( jQuery.map(this, function(elem, i){
517 scripts = jQuery.clean( args, (this[0].ownerDocument || this[0]), fragment ),
526 jQuery.each( scripts, evalScript );
532 return table && jQuery.nodeName(elem, "table") && jQuery.nodeName(cur, "tr") ?
541 jQuery.fn.init.prototype = jQuery.fn;
545 jQuery.ajax({
552 jQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || "" );
562 jQuery.extend = jQuery.fn.extend = function() {
575 if ( typeof target !== "object" && !jQuery.isFunction(target) )
597 target[ name ] = jQuery.extend( deep,
618 jQuery.extend({
623 window.jQuery = _jQuery;
625 return jQuery;
642 !!elem.ownerDocument && jQuery.isXMLDoc( elem.ownerDocument );
654 if ( jQuery.support.scriptEval )
700 if ( jQuery.isFunction( value ) )
712 jQuery.each((classNames || "").split(/\s+/), function(i, className){
713 if ( elem.nodeType == 1 && !jQuery.className.has( elem.className, className ) )
722 jQuery.grep(elem.className.split(/\s+/), function(className){
723 return !jQuery.className.has( classNames, className );
730 … return elem && jQuery.inArray( className, (elem.className || elem).toString().split(/\s+/) ) > -1;
760 jQuery.each( which, function() {
762 val -= parseFloat(jQuery.curCSS( elem, "padding" + this, true)) || 0;
764 val += parseFloat(jQuery.curCSS( elem, "margin" + this, true)) || 0;
766 val -= parseFloat(jQuery.curCSS( elem, "border" + this + "Width", true)) || 0;
773 jQuery.swap( elem, props, getWH );
778 return jQuery.curCSS( elem, name, force );
785 if ( name == "opacity" && !jQuery.support.opacity ) {
786 ret = jQuery.attr( style, "opacity" );
864 jQuery.each(elems, function(i, elem){
905 !jQuery.support.htmlSerialize &&
918 if ( !jQuery.support.tbody ) {
931 if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length )
937 if ( !jQuery.support.leadingWhitespace && /^\s/.test( elem ) )
940 elem = jQuery.makeArray( div.childNodes );
946 ret = jQuery.merge( ret, elem );
952 …if ( jQuery.nodeName( ret[i], "script" ) && (!ret[i].type || ret[i].type.toLowerCase() === "text/j…
956 …ret.splice.apply( ret, [i + 1, 0].concat(jQuery.makeArray(ret[i].getElementsByTagName("script"))) …
972 var notxml = !jQuery.isXMLDoc( elem ),
977 name = notxml && jQuery.props[ name ] || name;
995 if ( name == "type" && jQuery.nodeName( elem, "input" ) && elem.parentNode )
1002 if( jQuery.nodeName( elem, "form" ) && elem.getAttributeNode(name) )
1021 if ( !jQuery.support.style && notxml && name == "style" )
1022 return jQuery.attr( elem.style, "cssText", value );
1028 var attr = !jQuery.support.hrefNormalized && notxml && special
1040 if ( !jQuery.support.opacity && name == "opacity" ) {
1076 if( i == null || typeof array === "string" || jQuery.isFunction(array) || array.setInterval )
1101 if ( !jQuery.support.getAll ) {
1119 var id = jQuery.data( array[ i ] );
1169 jQuery.browser = {
1177 jQuery.each({
1179 parents: function(elem){return jQuery.dir(elem,"parentNode");},
1180 next: function(elem){return jQuery.nth(elem,2,"nextSibling");},
1181 prev: function(elem){return jQuery.nth(elem,2,"previousSibling");},
1182 nextAll: function(elem){return jQuery.dir(elem,"nextSibling");},
1183 prevAll: function(elem){return jQuery.dir(elem,"previousSibling");},
1184 siblings: function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},
1185 children: function(elem){return jQuery.sibling(elem.firstChild);},
1186 …contents: function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentW…
1188 jQuery.fn[ name ] = function( selector ) {
1189 var ret = jQuery.map( this, fn );
1192 ret = jQuery.multiFilter( selector, ret );
1194 return this.pushStack( jQuery.unique( ret ), name, selector );
1198 jQuery.each({
1205 jQuery.fn[ name ] = function( selector ) {
1206 var ret = [], insert = jQuery( selector );
1210 jQuery.fn[ original ].apply( jQuery(insert[i]), elems );
1218 jQuery.each({
1220 jQuery.attr( this, name, "" );
1226 jQuery.className.add( this, classNames );
1230 jQuery.className.remove( this, classNames );
1235 state = !jQuery.className.has( this, classNames );
1236 jQuery.className[ state ? "add" : "remove" ]( this, classNames );
1240 if ( !selector || jQuery.filter( selector, [ this ] ).length ) {
1242 jQuery( "*", this ).add([this]).each(function(){
1243 jQuery.event.remove(this);
1244 jQuery.removeData(this);
1253 jQuery(this).children().remove();
1260 jQuery.fn[ name ] = function(){
1267 return elem[0] && parseInt( jQuery.curCSS(elem[0], prop, true), 10 ) || 0;
1271 jQuery.extend({
1287 if ( name && !jQuery.cache[ id ] )
1288 jQuery.cache[ id ] = {};
1292 jQuery.cache[ id ][ name ] = data;
1296 jQuery.cache[ id ][ name ] :
1309 if ( jQuery.cache[ id ] ) {
1311 delete jQuery.cache[ id ][ name ];
1316 for ( name in jQuery.cache[ id ] )
1320 jQuery.removeData( elem );
1336 delete jQuery.cache[ id ];
1344 var q = jQuery.data( elem, type );
1346 if ( !q || jQuery.isArray(data) )
1347 q = jQuery.data( elem, type, jQuery.makeArray(data) );
1356 var queue = jQuery.queue( elem, type ),
1367 jQuery.fn.extend({
1376 data = jQuery.data( this[0], key );
1383 jQuery.data( this, key, value );
1389 jQuery.removeData( this, key );
1399 return jQuery.queue( this[0], type );
1402 var queue = jQuery.queue( this, type, data );
1410 jQuery.dequeue( this, type );
2364 jQuery.find = Sizzle;
2365 jQuery.filter = Sizzle.filter;
2366 jQuery.expr = Sizzle.selectors;
2367 jQuery.expr[":"] = jQuery.expr.filters;
2378 return jQuery.grep(jQuery.timers, function(fn){
2383 jQuery.multiFilter = function( expr, elems, not ) {
2391 jQuery.dir = function( elem, dir ){
2401 jQuery.nth = function(cur, result, dir, elem){
2412 jQuery.sibling = function(n, elem){
2433 jQuery.event = {
2463 var events = jQuery.data(elem, "events") || jQuery.data(elem, "events", {}),
2464 handle = jQuery.data(elem, "handle") || jQuery.data(elem, "handle", function(){
2467 return typeof jQuery !== "undefined" && !jQuery.event.triggered ?
2468 jQuery.event.handle.apply(arguments.callee.elem, arguments) :
2478 jQuery.each(types.split(/\s+/), function(index, type) {
2487 if ( jQuery.event.specialAll[type] )
2488 jQuery.event.specialAll[type].setup.call(elem, data, namespaces);
2497 …if ( !jQuery.event.special[type] || jQuery.event.special[type].setup.call(elem, data, namespaces) …
2510 jQuery.event.global[type] = true;
2526 var events = jQuery.data(elem, "events"), ret, index;
2542 jQuery.each(types.split(/\s+/), function(index, type){
2560 if ( jQuery.event.specialAll[type] )
2561 jQuery.event.specialAll[type].teardown.call(elem, namespaces);
2566 …if ( !jQuery.event.special[type] || jQuery.event.special[type].teardown.call(elem, namespaces) ===…
2568 elem.removeEventListener(type, jQuery.data(elem, "handle"), false);
2570 elem.detachEvent("on" + type, jQuery.data(elem, "handle"));
2582 var handle = jQuery.data( elem, "handle" );
2584 jQuery.removeData( elem, "events" );
2585 jQuery.removeData( elem, "handle" );
2600 jQuery.extend( jQuery.Event(type), event ) :
2602 jQuery.Event(type);
2615 jQuery.each( jQuery.cache, function(){
2617 jQuery.event.trigger( event, data, this.handle.elem );
2632 data = jQuery.makeArray(data);
2639 var handle = jQuery.data(elem, "handle");
2644 …if ( (!elem[type] || (jQuery.nodeName(elem, 'a') && type == "click")) && elem["on"+type] && elem["…
2648 …if ( !bubbling && elem[type] && !event.isDefaultPrevented() && !(jQuery.nodeName(elem, 'a') && typ…
2661 jQuery.event.trigger(event, data, parent, true);
2669 event = arguments[0] = jQuery.event.fix( event || window.event );
2681 handlers = ( jQuery.data(this, "events") || {} )[event.type];
2719 event = jQuery.Event( originalEvent );
2780 jQuery.event.add( this, namespaces[0], liveHandler );
2786 jQuery.each( (jQuery.data(this, "events").live || {}), function(){
2792 jQuery.event.remove( this, namespaces[0], liveHandler );
2799 jQuery.Event = function( src ){
2802 return new jQuery.Event(src);
2829 jQuery.Event.prototype = {
2876 jQuery.event.handle.apply( this, arguments );
2880 jQuery.each({
2884 jQuery.event.special[ fix ] = {
2886 jQuery.event.add( this, orig, withinElement, fix );
2889 jQuery.event.remove( this, orig, withinElement );
2894 jQuery.fn.extend({
2897 jQuery.event.add( this, type, fn || data, fn && data );
2902 var one = jQuery.event.proxy( fn || data, function(event) {
2903 jQuery(this).unbind(event, one);
2907 jQuery.event.add( this, type, one, fn && data);
2913 jQuery.event.remove( this, type, fn );
2919 jQuery.event.trigger( type, data, this );
2925 var event = jQuery.Event(type);
2928 jQuery.event.trigger( event, data, this[0] );
2939 jQuery.event.proxy( fn, args[i++] );
2941 return this.click( jQuery.event.proxy( fn, function(event) {
2962 if ( jQuery.isReady )
2964 fn.call( document, jQuery );
2969 jQuery.readyList.push( fn );
2975 var proxy = jQuery.event.proxy( fn );
2978 jQuery(document).bind( liveConvert(type, this.selector), this.selector, proxy );
2984 …jQuery(document).unbind( liveConvert(type, this.selector), fn ? { guid: fn.guid + this.selector + …
2994 jQuery.each(jQuery.data(this, "events").live || [], function(i, fn){
2996 var elem = jQuery(event.target).closest(fn.data)[0];
3003 return jQuery.data(a.elem, "closest") - jQuery.data(b.elem, "closest");
3006 jQuery.each(elems, function(){
3018 jQuery.extend({
3024 if ( !jQuery.isReady ) {
3026 jQuery.isReady = true;
3029 if ( jQuery.readyList ) {
3031 jQuery.each( jQuery.readyList, function(){
3032 this.call( document, jQuery );
3036 jQuery.readyList = null;
3040 jQuery(document).triggerHandler("ready");
3056 jQuery.ready();
3066 jQuery.ready();
3073 if ( jQuery.isReady ) return;
3085 jQuery.ready();
3090 jQuery.event.add( window, "load", jQuery.ready );
3093 jQuery.each( ("blur,focus,load,resize,scroll,unload,click,dblclick," +
3098 jQuery.fn[name] = function(fn){
3106 jQuery( window ).bind( 'unload', function(){
3107 for ( var id in jQuery.cache )
3109 if ( id != 1 && jQuery.cache[ id ].handle )
3110 jQuery.event.remove( jQuery.cache[ id ].handle.elem );
3114 jQuery.support = {};
3132 jQuery.support = {
3182 jQuery.support.scriptEval = true;
3192 jQuery.support.noCloneEvent = false;
3200 jQuery(function(){
3205 jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;
3210 var styleFloat = jQuery.support.cssFloat ? "cssFloat" : "styleFloat";
3212 jQuery.props = {
3224 jQuery.fn.extend({
3226 _load: jQuery.fn.load,
3244 if ( jQuery.isFunction( params ) ) {
3251 params = jQuery.param( params );
3258 jQuery.ajax({
3269 jQuery("<div/>")
3288 return jQuery.param(this.serializeArray());
3292 return this.elements ? jQuery.makeArray(this.elements) : this;
3300 var val = jQuery(this).val();
3302 jQuery.isArray(val) ?
3303 jQuery.map( val, function(val, i){
3312 jQuery.each( "ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","), function(…
3313 jQuery.fn[o] = function(f){
3320 jQuery.extend({
3324 if ( jQuery.isFunction( data ) ) {
3329 return jQuery.ajax({
3339 return jQuery.get(url, null, callback, "script");
3343 return jQuery.get(url, data, callback, "json");
3347 if ( jQuery.isFunction( data ) ) {
3352 return jQuery.ajax({
3362 jQuery.extend( jQuery.ajaxSettings, settings );
3400 s = jQuery.extend(true, s, jQuery.extend(true, {}, jQuery.ajaxSettings, s));
3407 s.data = jQuery.param(s.data);
3465 if ( s.global && ! jQuery.active++ )
3466 jQuery.event.trigger( "ajaxStart" );
3528 jQuery.lastModified[s.url] || "Thu, 01 Jan 1970 00:00:00 GMT" );
3542 if ( s.global && ! --jQuery.active )
3543 jQuery.event.trigger( "ajaxStop" );
3550 jQuery.event.trigger("ajaxSend", [xhr, s]);
3561 if ( s.global && ! --jQuery.active )
3562 jQuery.event.trigger( "ajaxStop" );
3575 !jQuery.httpSuccess( xhr ) ? "error" :
3576 s.ifModified && jQuery.httpNotModified( xhr, s.url ) ? "notmodified" :
3583 data = jQuery.httpData( xhr, s.dataType, s );
3598 jQuery.lastModified[s.url] = modRes;
3604 jQuery.handleError(s, xhr, status);
3635 jQuery.handleError(s, xhr, null, e);
3649 jQuery.event.trigger( "ajaxSuccess", [xhr, s] );
3659 jQuery.event.trigger( "ajaxComplete", [xhr, s] );
3662 if ( s.global && ! --jQuery.active )
3663 jQuery.event.trigger( "ajaxStop" );
3676 jQuery.event.trigger( "ajaxError", [xhr, s, e] );
3698 return xhr.status == 304 || xhrRes == jQuery.lastModified[url];
3721 jQuery.globalEval( data );
3742 if ( jQuery.isArray(a) || a.jquery )
3744 jQuery.each( a, function(){
3753 if ( jQuery.isArray(a[j]) )
3754 jQuery.each( a[j], function(){
3758 add( j, jQuery.isFunction(a[j]) ? a[j]() : a[j] );
3778 jQuery.each( fxAttrs.concat.apply([], fxAttrs.slice(0,num)), function(){
3784 jQuery.fn.extend({
3790 var old = jQuery.data(this[i], "olddisplay");
3794 if ( jQuery.css(this[i], "display") === "none" ) {
3800 var elem = jQuery("<" + tagName + " />").appendTo("body");
3811 jQuery.data(this[i], "olddisplay", display);
3818 this[i].style.display = jQuery.data(this[i], "olddisplay") || "";
3830 var old = jQuery.data(this[i], "olddisplay");
3832 jQuery.data(this[i], "olddisplay", jQuery.css(this[i], "display"));
3846 _toggle: jQuery.fn.toggle,
3851 return jQuery.isFunction(fn) && jQuery.isFunction(fn2) ?
3855 var state = bool ? fn : jQuery(this).is(":hidden");
3856 jQuery(this)[ state ? "show" : "hide" ]();
3866 var optall = jQuery.speed(speed, easing, callback);
3870 var opt = jQuery.extend({}, optall), p,
3871 hidden = this.nodeType == 1 && jQuery(this).is(":hidden"),
3880 opt.display = jQuery.css(this, "display");
3890 opt.curAnim = jQuery.extend({}, prop);
3892 jQuery.each( prop, function(name, val){
3893 var e = new jQuery.fx( self, opt, name );
3928 var timers = jQuery.timers;
3954 jQuery.each({
3961 jQuery.fn[ name ] = function( speed, callback ){
3966 jQuery.extend({
3971 jQuery.isFunction( speed ) && speed,
3973 easing: fn && easing || easing && !jQuery.isFunction(easing) && easing
3976 opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
3977 jQuery.fx.speeds[opt.duration] || jQuery.fx.speeds._default;
3983 jQuery(this).dequeue();
3984 if ( jQuery.isFunction( opt.old ) )
4013 jQuery.fx.prototype = {
4020 (jQuery.fx.step[this.prop] || jQuery.fx.step._default)( this );
4032 var r = parseFloat(jQuery.css(this.elem, this.prop, force));
4033 return r && r > -10000 ? r : parseFloat(jQuery.curCSS(this.elem, this.prop)) || 0;
4052 if ( t() && jQuery.timers.push(t) && !timerId ) {
4054 var timers = jQuery.timers;
4071 this.options.orig[this.prop] = jQuery.attr( this.elem.style, this.prop );
4080 jQuery(this.elem).show();
4086 this.options.orig[this.prop] = jQuery.attr( this.elem.style, this.prop );
4116 if ( jQuery.css(this.elem, "display") == "none" )
4122 jQuery(this.elem).hide();
4127 jQuery.attr(this.elem.style, p, this.options.orig[p]);
4139 …this.pos = jQuery.easing[this.options.easing || (jQuery.easing.swing ? "swing" : "linear")](this.s…
4151 jQuery.extend( jQuery.fx, {
4161 jQuery.attr(fx.elem.style, "opacity", fx.now);
4173 jQuery.fn.offset = function() {
4175 if ( this[0] === this[0].ownerDocument.body ) return jQuery.offset.bodyOffset( this[0] );
4178 …top = box.top + (self.pageYOffset || jQuery.boxModel && docElem.scrollTop || body.scrollTop ) -…
4179 …left = box.left + (self.pageXOffset || jQuery.boxModel && docElem.scrollLeft || body.scrollLeft) -…
4183 jQuery.fn.offset = function() {
4185 if ( this[0] === this[0].ownerDocument.body ) return jQuery.offset.bodyOffset( this[0] );
4186 jQuery.offset.initialized || jQuery.offset.initialize();
4199 …if ( jQuery.offset.doesNotAddBorder && !(jQuery.offset.doesAddBorderForTableAndCells && /^t(able|d…
4204 if ( jQuery.offset.subtractsBorderForOverflowNotVisible && computedStyle.overflow !== "visible" )
4221 jQuery.offset = {
4249 jQuery.offset.initialized || jQuery.offset.initialize();
4251 if ( jQuery.offset.doesNotIncludeMarginInBodyOffset )
4252 top += parseInt( jQuery.curCSS(body, 'marginTop', true), 10 ) || 0,
4253 left += parseInt( jQuery.curCSS(body, 'marginLeft', true), 10 ) || 0;
4259 jQuery.fn.extend({
4293 …while ( offsetParent && (!/^body|html$/i.test(offsetParent.tagName) && jQuery.css(offsetParent, 'p…
4295 return jQuery(offsetParent);
4301 jQuery.each( ['Left', 'Top'], function(i, name) {
4304 jQuery.fn[ method ] = function(val) {
4313 !i ? val : jQuery(window).scrollLeft(),
4314 i ? val : jQuery(window).scrollTop()
4322 jQuery.boxModel && document.documentElement[ method ] ||
4328 jQuery.each([ "Height", "Width" ], function(i, name){
4335 jQuery.fn["inner" + name] = function(){
4337 jQuery.css( this[0], lower, false, "padding" ) :
4342 jQuery.fn["outer" + name] = function(margin) {
4344 jQuery.css( this[0], lower, false, margin ? "margin" : "border" ) :
4350 jQuery.fn[ type ] = function( size ) {
4369 (this.length ? jQuery.css( this[0], type ) : null) :