jQuery 1.7 API Cheat Sheet
Selectors
Basic Filters
Attribute Filters
Core
jQuery function
Interoperability
AJAX
Low-Level Interface
jqXHR
jQuery.ajax
( options, [settings] )
- mapaccepts
- boolasync = true
- fnbeforeSend( jqXHR, config)
- boolcache = true
- fncomplete( jqXHR, status)
- mapcontents
- strcontentType
- objcontext
- mapconverters
- boolcrossDomain
- obj, strdata
- fndataFilter( data, type )
- boolglobal = true
- mapheaders
- boolifModified = false
- strjsonp
- fnjsonpCallback
- strpassword
- boolprocessData = true
- strscriptCharset
- mapstatusCode
- numtimeout
- booltraditional
- strtype = 'GET'
- strurl = curr. page
- strusername
- fnxhr
- strdataType ∈ {xml, json, script, html}
- fnerror( jqXHR, status, errorThrown )
- fnsuccess( data, status, jqXHR )
jQuery.ajaxSetup
( options )
Shorthand Methods
Global Ajax Event Handlers
Events
Page Load
Event Handling
Interaction Helpers
Event Helpers
function ( [data,] [fn] )Effects
Basics
Sliding
Fading
Custom
Attributes
Attributes
Class
HTML, text
CSS
Positioning
Height and Width
Traversing
Filtering
Tree traversal
Manipulation
Inserting Inside
Inserting Outside
Inserting Around
Copying
Event object
event = {
el
currentTarget,
*
data,
str
namespace,
num
pageX,
num
pageY,
preventDefault
(),
el
relatedTarget,
obj
result,
stopPropagation
(),
el
target,
num
timeStamp,
str
type,
str
which
}
Deferred
deferred object = {
}
Utilities
Browser and Feature Detection
obj
jQuery.support
Basic operations
fn
jQuery.noop
Data functions
Test operations
获取jQuery 1.7 中文API (适用jQuery 1.7和jQuery 1.7.1)
- 中文版:jQuery 1.7 中文API (适用jQuery 1.7和jQuery 1.7.1)
- 中文版AIR客户端下载:jQuery 1.7 中文API (适用jQuery 1.7和jQuery 1.7.1)AIR客户端下载
(注意:如果升级失败请卸载原先的版本后重新安装!)
- 英文版:jQAPI - Alternative jQuery Documentation - For Version 1.7