JQUERY 1.3 VISUAL CHEAT SHEET ★ SELECTORS ★ CORE ★ ATTRIBUTES ★ TRAVERSING ★ MANIPULATION ★ CSS ★ EVENTS ★ EFFECTS ★ ★ UTILITIES

★ ★ SELECTORS / 5. ATTRIBUTE FILTERS ★ LEGEND SELECTORS / 3. BASIC FILTERS SELECTORS / 7. VISIBILITY FILTERS El Element a<> Array :first :hidden a [attribute] a a Array of i Matches the first selected element. a Matches all elements that are hidden. Fx Function Matches elements that have the specified attribute. a Array of i (s) Num Number T Notes :last :visible Int Integer a a Deprecated in Matches the last selected element. [attribute=value] Matches all elements that are visible. 0-1 Boolean ✽ jQuery 1.3 Matches elements that have the specified attribute a :not(selector) with a certain value. Designed by Antonio Lupetti Filters out all elements matching the given a • http://woork.blogspot.com • http://www.twitter.com/woork selector. [attribute!=value] ★ SELECTORS / 8. FORMS Matches elements that either don't have the a :even specified attribute or do have the specified a :input Matches even elements, zero-indexed. attribute but not with a certain value. ★ SELECTORS / 1. BASIC Matches all input, textarea, select and button a elements. #id :odd [attribute^=value] a :text Matches a single element with the given id a Matches odd elements, zero-indexed. Matches elements that have the specified attribute a a attribute. and it starts with a certain value. Matches all input elements of type text. :password element :eq(index) a a a [attribute$=value] Matches all input elements of type password. Matches all elements with the given name. Matches a single element by its index. Matches elements that have the specified attribute a :radio and it ends with a certain value. a :gt(index) Matches all input elements of type radio. .class a Matches all elements with an index above the a Matches all elements with the given class. :checkbox given one. a [attribute*=value] Matches all input elements of type checkbox. Matches elements that have the specified attribute a .class.class :lt(index) and it contains a certain value. :submit a Matches all elements with an index below the a a Matches all elements with the given classes. Matches all input elements of type submit. given one. [attributeFilter1][attributeFilter2] :image :header a * [attributeFilterN] Matches all input elements of type image. a a a Matches all elements. Matches all elements that are headers, like h1, Matches elements that match all of the specified h2, h3 and so on. :reset attribute filters. a Matches all input elements of type reset. selector1, selector2, selectorN :animated a Matches the combined results of all the specified Matches all elements that are currently being a :button selectors. animated. Matches all button elements and input elements a of type button ★ SELECTORS / 6. CHILD FILTERS :file a Matches all input elements of type file. ★ SELECTORS / 2. HIERARCHY :nth-child(index/even/odd/equation) ★ SELECTORS / 4. CONTENT FILTERS Matches all elements that are the nth-child of their a parent or that are the parent's even or odd ancestor descendant children. a :contains(text) Matches all descendant elements specified by a ★ SELECTORS / 9. FORM FILTERS "descendant" of elements specified by "ancestor". Matches elements which contain the given text. :first-child Matches all elements that are the first child of their a :enabled parent > child :empty a a parent. Matches all child elements specified by "child" of Matches all elements that have no children a Matches all elements that are enabled. elements specified by "parent. (including text nodes). :disabled :last-child a Matches all elements that are disabled. prev + next :has(selector) Matches all elements that are the last child of their a Matches all next elements specified by "next" that a Matches elements which contain at least one a parent. are next to elements specified by "prev". element that matches the specified selector. :checked a Matches all elements that are checked. prev ~ siblings :parent :only-child Matches all elements that are parents - they have a Matches all elements that are the only child of a :selected Matches all sibling elements after the "prev" a a element that match the filtering "siblings" selector. child elements, including text. their parent. Matches all elements that are selected. JQUERY 1.3 VISUAL CHEAT SHEET ★ SELECTORS ★ CORE ★ ATTRIBUTES ★ TRAVERSING ★ MANIPULATION ★ CSS ★ EVENTS ★ EFFECTS ★ AJAX ★ UTILITIES

★ CORE / 1. THE JQUERY FUNCTION ★ CORE / 3. DATA ★ ATTRIBUTES / 1. ATTR ★ ATTRIBUTES / 3. HTML jQuery( expression, context ) data( name ) attr( name ) ( ) Any This function accepts a string containing a CSS jQuery Returns value at named data store for the Access a property on the first matched element. Get the html contents (innerHTML) of the first selector which is then used to match a set of element, as set by data(name, value). This method makes it easy to retrieve a matched element. This property is not available elements. property value from the first matched element. on XML documents (although it will work for XHTML documents). If the element does not have an attribute with Object data( name, value ) T How to use: String jQuery( html, ownerDocument ) jQuery such a name, undefined is returned. Stores the value in the named spot. $("p").click(function () { Create DOM elements on-the-fly from the jQuery Attributes include title, alt, src, href, width, var htmlStr = $(this).html(); provided String of raw HTML. T style, etc. $(this).text(htmlStr); removeData( name ) }); jQuery jQuery( elements ) Removes named data store from an element. jQuery attr( properties ) Wrap jQuery functionality around a single or an html( val ) array of DOM Element(s) . Set a key/value object as properties to all jQuery matched elements. Set the html contents of every matched element. queue( name ) This property is not available on XML documents (although it will work for XHTML a jQuery( callback ) Returns a reference to the first element's queue x documents). jQuery (which is an array of functions). A shorthand for $(document).ready(). attr( key, value ) jQuery Set a single property to a value, on all matched jQuery T How to use: elements. $("div").html(" queue( name, callback ) Hello Adds a new function, to be executed, onto the jQuery end of the queue of all matched elements. attr( key, fn ) Again"); ★ CORE / 2. OBJECT ACCESSORS Set a single property to a computed value, on all jQuery matched elements. each( callback ) queue( name, queue ) jQuery Replaces the queue of all matched element with jQuery Execute a function within the context of every ★ ATTRIBUTES / 4. TEXT matched element. this new queue (the array of functions). removeAttr( name ) Remove an attribute from each of the matched jQuery elements. size( ) text( ) Num dequeue( name ) Get the combined text contents of all matched The number of elements in the jQuery object. Removes a queued function from the front of the jQuery elements. queue and executes it. String length T How to use: Num ★ ATTRIBUTES / 2. CLASS The number of elements in the jQuery object. var str = $("p:first").text(); $("p:last").html(str); selector ★ CORE / 4. PLUGIN addClass( class ) A selector representing selector originally passed String Adds the specified class(es) to each of the set of jQuery to jQuery(). text( val ) matched elements. jQuery jQuery.fn.extend( object ) Set the text contents of all matched elements. context Extends the jQuery element set to provide new jQuery The DOM node context originally passed to jQuery El methods (used to make a typical jQuery plugin). hasClass( class ) () (if none was passed then context will be equal to 0-1 the document). Returns true if the specified class is present on at least one of the set of matched elements. jQuery.extend( object ) eq( position ) jQuery ★ ATTRIBUTES / 5. VALUE Extends the jQuery object itself. Reduce the set of matched elements to a single jQuery element. removeClass( class ) val( ) Removes all or the specified class(es) from the jQuery get( ) set of matched elements. Get the input value of the first matched element. a Access all matched DOM elements. ★ CORE / 5. INTEROPERABILITY T How to use: $("input").keyup(function () { String | a<> get( index ) toggleClass( class ) jQuery var value = $(this).val(); Access a single matched DOM element at a El Adds the specified class if it is not present, jQuery.noConflict( ) $("p").text(value); specified index in the matched set. removes the specified class if it is present. Run this function to give control of the $ variable jQuery }).keyup(); back to whichever library first implemented it. index( subject ) Searches every matched element for the object and toggleClass( class, switch ) val( val ) returns the index of the element, if found, starting Num jQuery.noConflict( extreme ) Adds the specified class if the switch is true, jQuery Set the text contents of all matched elements. jQuery with zero. If a jQuery object is passed, only the Extends the jQuery object itself. Use with jQuery removes the specified class if the switch is false. Checks, or selects, all the radio buttons, first element is checked. discretion. checkboxes, and select options that match the set of values. JQUERY 1.3 VISUAL CHEAT SHEET ★ SELECTORS ★ CORE ★ ATTRIBUTES ★ TRAVERSING ★ MANIPULATION ★ CSS ★ EVENTS ★ EFFECTS ★ AJAX ★ UTILITIES

★ TRAVERSING / 1. FILTERING ★ TRAVERSING / 3. FINDING ★ MANIPULATION / 1. CONTENTS ★ MANIPULATION / 4. INSERTING AROUD eq( index ) add( expr ) html( ) wrap( html ) Reduce the set of matched elements to a single Adds more elements, matched by the given jQuery Get the html contents (innerHTML) of the first Wrap each matched element with the specified jQuery element. jQuery expression, to the set of matched elements. matched element. String HTML content. T This property is not available on XML T How to use: children( expr ) documents $("div").eq(2).addClass("blue"); wrap( elem ) Get a set of elements containing all of the unique jQuery html( val ) immediate children of each of the matched set of Wrap each matched element with the specified jQuery Set the html contents of every matched element. filter( expr ) elements. jQuery element. Removes all elements from the set of matched T This property is not available on XML elements that do not match the specified closest( expr ) documents expression(s). Get a set of elements containing the closest jQuery wrapAll( html ) jQuery text( ) jQuery T How to use: parent element that matches the specified Wrap all the elements in the matched set into a selector, the starting element included. Get the combined text contents of all matched String single wrapper element. $("div").("background", "#c8ebcc") elements. .filter(".middle") contents( ) .css("border-color", "red"); Find all the child nodes inside the matched jQuery wrapAll( elem ) elements (including text nodes), or the content text( val ) jQuery Wrap all the elements in the matched set into a jQuery document, if the element is an iframe. Set the text contents of all matched elements. filter( fn ) single wrapper element. jQuery Removes all elements from the set of matched find( expr ) elements that do not match the specified function. wrapInner( html ) Searches for descendent elements that match the jQuery specified expression. Wrap the inner child contents of each matched jQuery ★ MANIPULATION / 2. INSERTING INSIDE element (including text nodes) with an HTML is( expr ) structure. Checks the current selection against an expression 0-1 next( expr ) and returns true, if at least one element of the jQuery append( content ) wrapInner( elem ) selection fits the given expression. Get a set of elements containing the unique next Append content to the inside of every matched jQuery siblings of each of the given set of elements. Wrap the inner child contents of each matched jQuery element. element (including text nodes) with a DOM element. map( callback ) nextAll( expr ) appendTo( selector ) Translate a set of elements in the jQuery object jQuery jQuery Append all of the matched elements to another, jQuery into another set of values in a jQuery array Find all sibling elements after the current specified, set of elements. (which may, or may not contain elements). element.

prepend( content ) ★ MANIPULATION / 5. REPLACING offsetParent( ) not( expr ) Prepend content to the inside of every matched jQuery Returns a jQuery collection with the positioned jQuery Removes elements matching the specified jQuery element. parent of the first matched element. expression from the set of matched elements. replaceWith( content ) prependTo( selector ) Replaces all matched elements with the specified parent( expr ) Prepend all of the matched elements to another, jQuery HTML or DOM elements. This returns the jQuery slice( start, end ) Get the direct parent of an element. If called on specified, set of elements. JQuery element that was just replaced, which jQuery jQuery Selects a subset of the matched elements. a set of elements, parent returns a set of their has been removed from the DOM. unique direct parent elements.

parents( expr ) replaceAll( selector ) jQuery Get a set of elements containing the unique jQuery ★ MANIPULATION / 3. INSERTING OUTSIDE Replaces the elements matched by the specified ★ TRAVERSING / 2. CHAINING ancestors of the matched set of elements (except selector with the matched elements. for the root element). after( content ) jQuery andSelf( ) prev( expr ) Insert content after each of the matched elements. Add the previous selection to the current selection. Get a set of elements containing the unique jQuery previous siblings of each of the matched set of ★ MANIPULATION / 6. REMOVING jQuery elements. before( content ) T How to use: jQuery Insert content before each of the matched elements. $("div").find("p").andSelf().addClass("border"); empty( ) $("div").find("p").addClass("background"); prevAll( expr ) jQuery jQuery Remove all child nodes from the set of matched Find all sibling elements in front of the current insertAfter( selector ) elements. element. Insert all of the matched elements after another, jQuery end( ) specified, set of elements. Revert the most recent 'destructive' operation, remove( expr ) changing the set of matched elements to its jQuery siblings( expr ) jQuery previous state (right before the destructive jQuery insertBefore( selector ) Removes all matched elements from the DOM. Get a set of elements containing all of the unique jQuery operation). siblings of each of the matched set of elements. Insert all of the matched elements before another, specified, set of elements. JQUERY 1.3 VISUAL CHEAT SHEET ★ SELECTORS ★ CORE ★ ATTRIBUTES ★ TRAVERSING ★ MANIPULATION ★ CSS ★ EVENTS ★ EFFECTS ★ AJAX ★ UTILITIES

★ MANIPULATION / 7. COPYING ★ CSS / 3. HEIGHT AND WIDTH ★ EVENTS / 2. HANDLING error( ) / error( fn ) Triggers / Bind a function to the error event of jQuery clone( ) height( ) bind( type, data, fn ) each matched element. Clone matched DOM Elements and select the jQuery Get the current computed, pixel, height of the Int Binds a handler to one or more events (like jQuery clones. first matched element. click) for each matched element. Can also bind focus( ) / focus( fn ) custom events. Triggers / Bind a function to the focus event of jQuery clone( bool ) height( val ) each matched element. jQuery jQuery one( type, data, fn ) Clone matched DOM Elements, and all their event Set the CSS height of every matched element. handlers, and select the clones. Binds a handler to one or more events to be jQuery keydown( ) / keydown( fn ) executed once for each matched element. Triggers / Bind a function to the keydown event jQuery width( ) of each matched element. Get the current computed, pixel, width of the Int trigger( event, data ) ★ CSS / 1. CSS first matched element. jQuery keypress( ) / keypress( fn ) Trigger an event on every matched element. Triggers / Bind a function to the keypress event jQuery of each matched element. width( val ) css( name ) jQuery Return a style property on the first matched String Set the CSS width of every matched element. triggerHandler( event, data ) keyup( ) / keyup( fn ) element. Triggers all bound event handlers on an element (for a specific event type) WITHOUT Object Triggers / Bind a function to the keyup event of jQuery css( properties ) innerHeight( ) executing the browser's default actions, each matched element. bubbling, or live events. Set a key/value object as style properties to all jQuery Gets the inner height (excludes the border and Int matched elements. includes the padding) for the first matched load( fn ) element. unbind( type, fn ) Binds a function to the load event of each jQuery css( name, value ) This does the opposite of bind, it removes bound jQuery matched element. Set a single style property to a value on all jQuery innerWidth( ) events from each of the matched elements. matched elements. mousedown( fn ) Gets the inner width (excludes the border and Int includes the padding) for the first matched Binds a function to the mousedown event of jQuery element. each matched element.

★ EVENTS / 3. INTERACTION HELPERS outerHeight( margin ) mouseenter( fn ) ★ CSS / 2. POSITIONING jQuery Gets the outer height (includes the border and Int Bind a function to the mouseenter event of each padding by default) for the first matched hover( over, out ) matched element. element. offset( ) Simulates hovering (moving the mouse on, and jQuery Get the current offset of the first matched Object{top, left} off, an object). This is a custom method which mouseleave( fn ) provides an 'in' to a frequent task. element, in pixels, relative to the document. outerWidth( margin ) Bind a function to the mouseleave event of each jQuery matched element. Get the outer width (includes the border and Int offsetParent( ) padding by default) for the first matched toggle( fn, fn2, fn3, fn4, ... ) element. jQuery mousemove( fn ) Returns a jQuery collection with the jQuery Append all of the matched elements to another, positioned parent of the first matched specified, set of elements. Bind a function to the mousemove event of each jQuery element. matched element.

position( ) mouseout( fn ) ★ EVENTS / 1. PAGE LOAD Gets the top and left position of an element Object{top, left} Bind a function to the mouseout event of each jQuery relative to its offset parent. ★ EVENTS / 4. EVENT HELPERS matched element. ready( fn ) scrollTop( ) Binds a function to be executed whenever the jQuery blur( ) / blur( fn ) mouseover( fn ) Gets the scroll top offset of the first matched Int DOM is ready to be traversed and manipulated. Triggers / Bind a function to the blur event of jQuery Bind a function to the mouseover event of each jQuery element. each matched element. matched element.

scrollTop( val ) change( ) / change( fn ) mouseup( fn ) Triggers / Bind a function to the chenge event of jQuery Bind a function to the mouseup event of each jQuery When a value is passed in, the scroll top jQuery ★ EVENTS / 2. LIVE EVENTS offset is set to that value on all matched each matched element. matched element. elements. live( type, fn ) click( ) / click( fn ) resize( fn ) scrollLeft( ) jQuery jQuery Binds a handler to an event (like click) for all jQuery Triggers / Bind a function to the click event of Bind a function to the resize event of each Gets the scroll left offset of the first matched Int current - and future - matched element. Can also each matched element. matched element. element. bind custom events. dblclick( ) / dblick( fn ) scroll( fn ) scrollLeft( val ) die( type, fn ) Triggers / Bind a function to the dblclick event jQuery Bind a function to the scroll event of each jQuery jQuery jQuery When a value is passed in, the scroll left offset This removes a bound live event. of each matched element. matched element. is set to that value on all matched elements. JQUERY 1.3 VISUAL CHEAT SHEET ★ SELECTORS ★ CORE ★ ATTRIBUTES ★ TRAVERSING ★ MANIPULATION ★ CSS ★ EVENTS ★ EFFECTS ★ AJAX ★ UTILITIES

★ EFFECTS / 2. SLIDING ★ EFFECTS / 5. CUSTOM ★ AJAX / 2. EVENTS select( ) / select( fn ) Triggers / Bind a function to the select event of jQuery animate( params, duration, easing, callback ) each matched element. slideDown( speed, callback ) ajaxComplete( callback ) A function for making custom animations. Reveal all matched elements by adjusting their jQuery Attach a function to be executed whenever an submit( ) / submit( fn ) height and firing an optional callback after AJAX request completes. T How to use: jQuery completion. Triggers / Bind a function to the submit event of T How to use: each matched element. $("#go").click(function(){ jQuery $("#block").animate({ $("#msg").ajaxComplete(function slideUp( speed, callback ) jQuery width: "70%", (event,request, settings){ unload( fn ) Hide all matched elements by adjusting their jQuery opacity: 0.4, $(this).append("

  • Complete!
  • "); Binds a function to the unload event of each jQuery height and firing an optional callback after }); matched element. completion. }, 1500 ); }); slideToggle( speed, callback ) ajaxError( callback ) Toggle the visibility of all matched elements by animate( params, options ) Attach a function to be executed whenever an jQuery jQuery jQuery ★ EFFECTS / 1. BASICS adjusting their height and firing an optional A function for making custom animations. AJAX request fails. callback after completion. show( ) ajaxSend( callback ) stop( clearQueue, gotoEnd ) Displays each of the set of matched elements if Attach a function to be executed before an AJAX they are hidden. Stops all the currently running animations on all jQuery jQuery request is sent. ★ EFFECTS / 3. FADING the specified elements. T How to use: T How to use: jQuery $("p").show() $("#msg").ajaxSend(function(evt, request, fadeIn( speed, callback ) settings){ Fade in all matched elements by adjusting their $(this).append("
  • Starting request at " + show( speed, callback ) opacity and firing an optional callback after ★ AJAX / 1. AJAX REQUESTS settings.url + "
  • "); Show all matched elements using a graceful jQuery completion. }); animation and firing an optional callback after jQuery completion. T How to use: jQuery.ajax( options ) XMLHttpReq $(document.body).click(function () { Load a remote page using an HTTP request. ajaxStart( callback ) hide( ) $("div:hidden:first").fadeIn("slow"); Attach a function to be executed whenever an jQuery }); AJAX request begins and there is none already Hides each of the set of matched elements if they load( url, data, callback ) active. are shown. jQuery Load HTML from a remote file and inject it into jQuery fadeOut( speed, callback ) T How to use: the DOM. Fade out all matched elements by adjusting ajaxStop( callback ) $("p").hide() their opacity to 0, then setting display to "none" jQuery Attach a function to be executed whenever all jQuery and firing an optional callback after jQuery.get( url, data, callback, type ) AJAX requests have ended. completion. hide( speed, callback ) Load a remote page using an HTTP GET XMLHttpReq request. Hide all matched elements using a graceful 0-1 fadeTo( speed, opacity, callback ) animation and firing an optional callback after ajaxSuccess( callback ) Fade the opacity of all matched elements to a completion. Attach a function to be executed whenever an jQuery specified opacity and firing an optional callback jQuery.getJSON( url, data, callback, type ) after completion. AJAX request completes successfully. XMLHttpReq toggle( ) jQuery Load JSON data using an HTTP GET request. T How to use: Toggle displaying each of the set of matched elements. $("p:first").click(function () { $(this).fadeTo("slow", 0.33); jQuery.getScript( url, callback ) ★ AJAX / 3. MISC T How to use: jQuery }); Loads, and executes, a local JavaScript file XMLHttpReq $("button").click(function () { using an HTTP GET request. $("p").toggle(); jQuery.ajaxSetup( options ) }); jQuery.post( url, data, callback, type ) Setup global settings for AJAX requests. ★ EFFECTS / 4. SETTINGS Load a remote page using an HTTP POST XMLHttpReq toggle( switch ) request. serialize( ) Toggle displaying each of the set of matched jQuery jQuery.fx.off elements based upon the switch (true shows all T How to use: Serializes a set of input elements into a string of String Globally disable all animations. elements, false hides all elements). $.post("test.", { func: data. T How to use: "getNameAndTime" }, 0-1 function(data){ toggle( speed, callback ) jQuery.fx.off = true; serializeArray( ) alert(data.name); // John Serializes all forms and elements (like Toggle displaying each of the set of matched jQuery $("input").click(function(){ a console.log(data.time); // 2pm the .serialize() method) but returns a JSON data elements using a graceful animation and firing $("div").toggle("slow"); an optional callback after completion. }, ""); structure for you to work with. }); JQUERY 1.3 VISUAL CHEAT SHEET ★ SELECTORS ★ CORE ★ ATTRIBUTES ★ TRAVERSING ★ MANIPULATION ★ CSS ★ EVENTS ★ EFFECTS ★ AJAX ★ UTILITIES

    ★ UTILITIES / 1. DETECTION ★ UTILITIES / 3. TEST OPERATIONS ★ REFERENCE AND CREDITS jQuery.support jQuery.isArray( obj ) JQUERY 1.3 Visual Cheat Sheet A collection of properties that represent the Object Determine if the parameter passed is an array. Designed © 2009 by Antonio Lupetti presence of different browser features or bugs. 0-1 T How to use: • http://woork.blogspot.com $("b").append( "" + $.isArray([])); • http://www.twitter.com/woork jQuery.browser ✽ • http://www.facebook.com/antoniolupetti Contains flags for the useragent, read from navigator.userAgent. While it is unlikely Map jQuery.browser will be removed, every effort to jQuery.isFunction( obj ) Download or buy a printed copy of this Visual Cheat Sheet here: use jQuery.support and proper feature detection Determine if the parameter passed is a 0-1 • http://woork.blogspot.com should be made. Javascript function object.

    jQuery | The Write Less, Do More, JavaScript jQuery.browser.version ✽ Library The version number of the rendering engine for String jQuery is a fast and concise JavaScript Library that the user's browser. ★ UTILITIES / 4. STRING OPERATIONS simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that jQuery.boxModel ✽ jQuery.trim( str ) you write JavaScript. States if the current page, in the user's browser, is 0-1 Remove the whitespace from the beginning and being rendered using the W3C CSS Box Model end of a string. jQuery Official Web Page • http://jquery.com/ Original documentation • http://docs.jquery.com T How to use: Tutorials • http://docs.jquery.com/Tutorials $("button").click(function () { Bug Traker • http://dev.jquery.com/ String var str = " lots of spaces before and after "; Discussion • http://docs.jquery.com/Discussion ★ UTILITIES / 2. ARRAYS AND OBJECTS alert("'" + str + "'"); jQuery is © of and the jQuery Team. jQuery.each( object, callback ) str = jQuery.trim(str); • http://ejohn.org A generic iterator function, which can be used to Object alert("'" + str + "' - no longer"); • http://docs.jquery.com/Contributors seamlessly iterate over both objects and arrays. }); jQuery.extend( deep, target, object1, objectN ) Extend one object with one or more others, Object returning the modified object. ★ UTILITIES / 5. URLS jQuery.grep( array, callback, invert ) jQuery.param( obj ) Finds the elements of an array which satisfy a a<> Serializes an array of form elements or an filter function. The original array is not affected. object (core of .serialize() method).

    T How to use: String jQuery.makeArray( obj ) THE k a<> var params = { width:1680, height:1050 }; Turns anything into a true array. WORKING var str = jQuery.param(params); $("#results").text(str); BRAIN jQuery.map( array, callback ) Translate all items in an array to another array a<> of items. jQuery.inArray( value, array ) Determine the index of the first parameter in the Num Array (-1 if not found). jQuery.merge( first, second ) a<> Merge two arrays together. jQuery.unique( array ) Remove all duplicate elements from an array of a<> elements. Note that this only works on arrays of DOM elements, not strings or numbers.