self.html(res.responseText).each( callback, [res.responseText, status] );
// Execute all the scripts inside of the newly-injected HTML
- $("script", self).each(function(){
+ jQuery("script", self).each(function(){
if ( this.src )
- $.getScript( this.src );
+ jQuery.getScript( this.src );
else
eval.call( window, this.text || this.textContent || this.innerHTML || "" );
});
* @cat AJAX
*/
serialize: function() {
- return $.param( this );
+ return jQuery.param( this );
}
});
};\r
\r
// Clean up after IE to avoid memory leaks\r
-if ($.browser.msie) $(window).unload(function() {\r
+if (jQuery.browser.msie) jQuery(window).unload(function() {\r
var event = jQuery.event, global = event.global;\r
for (var type in global) {\r
var els = global[type], i = els.length;\r
*/\r
slideToggle: function(speed,callback){\r
return this.each(function(){\r
- var state = $(this).is(":hidden") ? "show" : "hide";\r
- $(this).animate({height: state}, speed, callback);\r
+ var state = jQuery(this).is(":hidden") ? "show" : "hide";\r
+ jQuery(this).animate({height: state}, speed, callback);\r
});\r
},\r
\r
o.className += ( o.className ? " " : "" ) + c;\r
},\r
remove: function(o,c){\r
- /*\r
- o.className = !c ? "" :\r
- o.className.replace(\r
- new RegExp("(^|\\s*\\b[^-])"+c+"($|\\b(?=[^-]))", "g"), "");*/\r
if( !c ) {\r
o.className = "";\r
} else {\r
for ( var i = 0; i < a.length; i++ ) {\r
if ( a[i].constructor == String ) {\r
// trim whitespace, otherwise indexOf won't work as expected\r
- a[i] = $.trim(a[i]);\r
+ a[i] = jQuery.trim(a[i]);\r
\r
var table = "";\r
\r
if ( fix[name] ) {\r
if ( value != undefined ) elem[fix[name]] = value;\r
return elem[fix[name]];\r
- } else if( value == undefined && $.browser.msie && elem.nodeName && elem.nodeName.toUpperCase() == 'FORM' && (name == 'action' || name == 'method') ) {\r
+ } else if( value == undefined && jQuery.browser.msie && elem.nodeName && elem.nodeName.toUpperCase() == 'FORM' && (name == 'action' || name == 'method') ) {\r
return elem.getAttributeNode(name).nodeValue;\r
} else if ( elem.getAttribute != undefined ) {\r
if ( value != undefined ) elem.setAttribute( name, value );\r