Jquery Visual Cheat Sheet (By WOORK)
Jquery Visual Cheat Sheet (By WOORK)
3 VISUAL CHEAT SHEET ★ SELECTORS ★ CORE ★ ATTRIBUTES ★ TRAVERSING ★ MANIPULATION ★ CSS ★ EVENTS ★ EFFECTS ★ AJAX ★ UTILITIES
LEGEND C ★ SELECTORS / 3. BASIC FILTERS ★ SELECTORS / 5. ATTRIBUTE FILTERS ★ SELECTORS / 7. VISIBILITY FILTERS
★ CORE / 1. THE JQUERY FUNCTION ★ CORE / 3. DATA ★ ATTRIBUTES / 1. ATTR ★ ATTRIBUTES / 3. HTML
position( ) mouseout( fn )
Object{top, left}
★ EVENTS / 1. PAGE LOAD
Gets the top and left position of an element 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.
jQuery.makeArray( obj )
T How to use: String
THE k
a<> var params = { width:1680, height:1050 };
Turns anything into a true array.
var str = jQuery.param(params);
WORKING
$("#results").text(str); BRAIN
jQuery.map( array, callback )
Translate all items in an array to another array a<>
of items.
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.