* @param String url The URL of the HTML file to load.
* @param Map params (optional) Key/value pairs that will be sent to the server.
* @param Function callback (optional) A function to be executed whenever the data is loaded (parameters: responseText, status and response itself).
- * @cat AJAX
+ * @cat Ajax
*/
loadIfModified: function( url, params, callback ) {
this.load( url, params, callback, 1 );
* @param String url The URL of the HTML file to load.
* @param Object params (optional) A set of key/value pairs that will be sent as data to the server.
* @param Function callback (optional) A function to be executed whenever the data is loaded (parameters: responseText, status and response itself).
- * @cat AJAX
+ * @cat Ajax
*/
load: function( url, params, callback, ifModified ) {
if ( url.constructor == Function )
*
* @name serialize
* @type String
- * @cat AJAX
+ * @cat Ajax
*/
serialize: function() {
return jQuery.param( this );
* @name evalScripts
* @type jQuery
* @private
- * @cat AJAX
+ * @cat Ajax
*/
evalScripts: function() {
return this.find('script').each(function(){
* @name ajaxStart
* @type jQuery
* @param Function callback The function to execute.
- * @cat AJAX
+ * @cat Ajax
*/
/**
* @name ajaxStop
* @type jQuery
* @param Function callback The function to execute.
- * @cat AJAX
+ * @cat Ajax
*/
/**
* @name ajaxComplete
* @type jQuery
* @param Function callback The function to execute.
- * @cat AJAX
+ * @cat Ajax
*/
/**
* @name ajaxSuccess
* @type jQuery
* @param Function callback The function to execute.
- * @cat AJAX
+ * @cat Ajax
*/
/**
* @name ajaxError
* @type jQuery
* @param Function callback The function to execute.
- * @cat AJAX
+ * @cat Ajax
*/
/**
* @name ajaxSend
* @type jQuery
* @param Function callback The function to execute.
- * @cat AJAX
+ * @cat Ajax
*/
jQuery.each( "ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","), function(i,o){
jQuery.fn[o] = function(f){
* @param String url The URL of the page to load.
* @param Map params (optional) Key/value pairs that will be sent to the server.
* @param Function callback (optional) A function to be executed whenever the data is loaded.
- * @cat AJAX
+ * @cat Ajax
*/
get: function( url, data, callback, type, ifModified ) {
// shift arguments if data argument was ommited
* @param String url The URL of the page to load.
* @param Map params (optional) Key/value pairs that will be sent to the server.
* @param Function callback (optional) A function to be executed whenever the data is loaded.
- * @cat AJAX
+ * @cat Ajax
*/
getIfModified: function( url, data, callback, type ) {
return jQuery.get(url, data, callback, type, 1);
* @type XMLHttpRequest
* @param String url The URL of the page to load.
* @param Function callback (optional) A function to be executed whenever the data is loaded.
- * @cat AJAX
+ * @cat Ajax
*/
getScript: function( url, callback ) {
return jQuery.get(url, null, callback, "script");
* @param String url The URL of the page to load.
* @param Map params (optional) Key/value pairs that will be sent to the server.
* @param Function callback A function to be executed whenever the data is loaded.
- * @cat AJAX
+ * @cat Ajax
*/
getJSON: function( url, data, callback ) {
return jQuery.get(url, data, callback, "json");
* @param String url The URL of the page to load.
* @param Map params (optional) Key/value pairs that will be sent to the server.
* @param Function callback (optional) A function to be executed whenever the data is loaded.
- * @cat AJAX
+ * @cat Ajax
*/
post: function( url, data, callback, type ) {
return jQuery.ajax({
* @name $.ajaxTimeout
* @type undefined
* @param Number time How long before an AJAX request times out.
- * @cat AJAX
+ * @cat Ajax
*/
ajaxTimeout: function( timeout ) {
jQuery.ajaxSettings.timeout = timeout;
* @name $.ajaxSetup
* @type undefined
* @param Map settings Key/value pairs to use for all AJAX requests
- * @cat AJAX
+ * @cat Ajax
*/
ajaxSetup: function( settings ) {
jQuery.extend( jQuery.ajaxSettings, settings );
* @name $.ajax
* @type XMLHttpRequest
* @param Map properties Key/value pairs to initialize the request with.
- * @cat AJAX
+ * @cat Ajax
* @see ajaxSetup(Map)
*/
ajax: function( s ) {
* @name scroll
* @type jQuery
* @param Function fn A function to bind to the scroll event on each of the matched elements.
- * @cat Events/Browser
+ * @cat Events
*/
/**
* @name submit
* @type jQuery
* @param Function fn A function to bind to the submit event on each of the matched elements.
- * @cat Events/Form
+ * @cat Events
*/
/**
*
* @name submit
* @type jQuery
- * @cat Events/Form
+ * @cat Events
*/
/**
* @name focus
* @type jQuery
* @param Function fn A function to bind to the focus event on each of the matched elements.
- * @cat Events/UI
+ * @cat Events
*/
/**
*
* @name focus
* @type jQuery
- * @cat Events/UI
+ * @cat Events
*/
/**
* @name keydown
* @type jQuery
* @param Function fn A function to bind to the keydown event on each of the matched elements.
- * @cat Events/Keyboard
+ * @cat Events
*/
/**
* @name dblclick
* @type jQuery
* @param Function fn A function to bind to the dblclick event on each of the matched elements.
- * @cat Events/Mouse
+ * @cat Events
*/
/**
* @name keypress
* @type jQuery
* @param Function fn A function to bind to the keypress event on each of the matched elements.
- * @cat Events/Keyboard
+ * @cat Events
*/
/**
* @name error
* @type jQuery
* @param Function fn A function to bind to the error event on each of the matched elements.
- * @cat Events/Browser
+ * @cat Events
*/
/**
* @name blur
* @type jQuery
* @param Function fn A function to bind to the blur event on each of the matched elements.
- * @cat Events/UI
+ * @cat Events
*/
/**
*
* @name blur
* @type jQuery
- * @cat Events/UI
+ * @cat Events
*/
/**
* @name load
* @type jQuery
* @param Function fn A function to bind to the load event on each of the matched elements.
- * @cat Events/Browser
+ * @cat Events
*/
/**
* @name select
* @type jQuery
* @param Function fn A function to bind to the select event on each of the matched elements.
- * @cat Events/Form
+ * @cat Events
*/
/**
*
* @name select
* @type jQuery
- * @cat Events/Form
+ * @cat Events
*/
/**
* @name mouseup
* @type jQuery
* @param Function fn A function to bind to the mouseup event on each of the matched elements.
- * @cat Events/Mouse
+ * @cat Events
*/
/**
* @name unload
* @type jQuery
* @param Function fn A function to bind to the unload event on each of the matched elements.
- * @cat Events/Browser
+ * @cat Events
*/
/**
* @name change
* @type jQuery
* @param Function fn A function to bind to the change event on each of the matched elements.
- * @cat Events/Form
+ * @cat Events
*/
/**
* @name mouseout
* @type jQuery
* @param Function fn A function to bind to the mouseout event on each of the matched elements.
- * @cat Events/Mouse
+ * @cat Events
*/
/**
* @name keyup
* @type jQuery
* @param Function fn A function to bind to the keyup event on each of the matched elements.
- * @cat Events/Keyboard
+ * @cat Events
*/
/**
* @name click
* @type jQuery
* @param Function fn A function to bind to the click event on each of the matched elements.
- * @cat Events/Mouse
+ * @cat Events
*/
/**
*
* @name click
* @type jQuery
- * @cat Events/Mouse
+ * @cat Events
*/
/**
* @name resize
* @type jQuery
* @param Function fn A function to bind to the resize event on each of the matched elements.
- * @cat Events/Browser
+ * @cat Events
*/
/**
* @name mousemove
* @type jQuery
* @param Function fn A function to bind to the mousemove event on each of the matched elements.
- * @cat Events/Mouse
+ * @cat Events
*/
/**
* @name mousedown
* @type jQuery
* @param Function fn A function to bind to the mousedown event on each of the matched elements.
- * @cat Events/Mouse
+ * @cat Events
*/
/**
* @name mouseover
* @type jQuery
* @param Function fn A function to bind to the mousedown event on each of the matched elements.
- * @cat Events/Mouse
+ * @cat Events
*/
jQuery.each( ("blur,focus,load,resize,scroll,unload,click,dblclick," +
"mousedown,mouseup,mousemove,mouseover,mouseout,change,select," +
* @param String|Number speed A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
* @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @param String easing (optional) easing effect\r
- * @cat Effects/Animations\r
+ * @cat Effects\r
* @see hide(String|Number,Function)\r
*/\r
show: function(speed,callback){\r
* @param String|Number speed A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
* @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @param String easing (optional) easing effect\r
- * @cat Effects/Animations\r
+ * @cat Effects\r
* @see show(String|Number,Function)\r
*/\r
hide: function(speed,callback){\r
* @param String|Number speed (optional) A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
* @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @param String easing (optional) easing effect\r
- * @cat Effects/Animations\r
+ * @cat Effects\r
* @see slideUp(String|Number,Function)\r
* @see slideToggle(String|Number,Function)\r
*/\r
* @param String|Number speed (optional) A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
* @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @param String easing (optional) easing effect\r
- * @cat Effects/Animations\r
+ * @cat Effects\r
* @see slideDown(String|Number,Function)\r
* @see slideToggle(String|Number,Function)\r
*/\r
* @param String|Number speed (optional) A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
* @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @param String easing (optional) easing effect\r
- * @cat Effects/Animations\r
+ * @cat Effects\r
* @see slideDown(String|Number,Function)\r
* @see slideUp(String|Number,Function)\r
*/\r
* @param String|Number speed (optional) A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
* @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @param String easing (optional) easing effect\r
- * @cat Effects/Animations\r
+ * @cat Effects\r
* @see fadeOut(String|Number,Function)\r
* @see fadeTo(String|Number,Number,Function)\r
*/\r
* @param String|Number speed (optional) A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
* @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @param String easing (optional) easing effect\r
- * @cat Effects/Animations\r
+ * @cat Effects\r
* @see fadeIn(String|Number,Function)\r
* @see fadeTo(String|Number,Number,Function)\r
*/\r
* @param Number opacity The opacity to fade to (a number from 0 to 1).\r
* @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @param String easing (optional) easing effect\r
- * @cat Effects/Animations\r
+ * @cat Effects\r
* @see fadeIn(String|Number,Function)\r
* @see fadeOut(String|Number,Function)\r
*/\r
* @param String|Number speed (optional) A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
* @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @param String easing (optional) easing effect\r
- * @cat Effects/Animations\r
+ * @cat Effects\r
*/\r
animate: function( prop, speed, easing, callback ) {\r
return this.queue(function(){\r
* @name attr
* @type Object
* @param String name The name of the property to access.
- * @cat DOM
+ * @cat DOM/Attributes
*/
/**
* @name attr
* @type jQuery
* @param Map properties Key/value pairs to set as object properties.
- * @cat DOM
+ * @cat DOM/Attributes
*/
/**
* @type jQuery
* @param String key The name of the property to set.
* @param Object value The value to set the property to.
- * @cat DOM
+ * @cat DOM/Attributes
*/
attr: function( key, value, type ) {
// Check to see if we're setting style values
*
* @name text
* @type String
- * @cat DOM
+ * @cat DOM/Attributes
*/
/**
* @name text
* @type String
* @param String val The text value to set the contents of the element to.
- * @cat DOM
+ * @cat DOM/Attributes
*/
text: function(e) {
// A surprisingly high number of people expect the
* @param Object prop1 The object that will be merged into the first.
* @param Object propN (optional) More objects to merge into the first
* @type Object
- * @cat Javascript
+ * @cat JavaScript
*/
jQuery.extend = jQuery.fn.extend = function() {
// copy reference to target object
* @param Object obj The object, or array, to iterate over.
* @param Function fn The function that will be executed on every object.
* @type Object
- * @cat Javascript
+ * @cat JavaScript
*/
// args is for internal usage only
each: function( obj, fn, args ) {
* @name $.trim
* @type String
* @param String str The string to trim.
- * @cat Javascript
+ * @cat JavaScript
*/
trim: function(t){
return t.replace(/^\s+|\s+$/g, "");
* @type Array
* @param Array first The first array to merge.
* @param Array second The second array to merge.
- * @cat Javascript
+ * @cat JavaScript
*/
merge: function(first, second) {
var r = [].slice.call( first, 0 );
* @param Array array The Array to find items in.
* @param Function fn The function to process each item against.
* @param Boolean inv Invert the selection - select the opposite of the function.
- * @cat Javascript
+ * @cat JavaScript
*/
grep: function(elems, fn, inv) {
// If a string is passed in for the function, make a function
* @type Array
* @param Array array The Array to translate.
* @param Function fn The function to process each item against.
- * @cat Javascript
+ * @cat JavaScript
*/
map: function(elems, fn) {
// If a string is passed in for the function, make a function
* @property
* @name $.browser
* @type Boolean
- * @cat Javascript
+ * @cat JavaScript
*/
/*
* @property
* @name $.boxModel
* @type Boolean
- * @cat Javascript
+ * @cat JavaScript
*/
new function() {
var b = navigator.userAgent.toLowerCase();
* @name removeAttr
* @type jQuery
* @param String name The name of the attribute to remove.
- * @cat DOM
+ * @cat DOM/Attributes
*/
/**
* @name addClass
* @type jQuery
* @param String class A CSS class to add to the elements
- * @cat DOM
+ * @cat DOM/Attributes
* @see removeClass(String)
*/
* @name removeClass
* @type jQuery
* @param String class (optional) A CSS class to remove from the elements
- * @cat DOM
+ * @cat DOM/Attributes
* @see addClass(String)
*/
* @name toggleClass
* @type jQuery
* @param String class A CSS class with which to toggle the elements
- * @cat DOM
+ * @cat DOM/Attributes
*/
/**