国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

directory search
jQuery 1.4.4 速查表 核心 jQuery核心函數(shù) jQuery(expression jQuery(html jQuery(html jQuery(elements) jQuery() jQuery(callback) jQuery對(duì)象訪問(wèn) each(callback) size() length context get() get(index) index([subject]) selector 數(shù)據(jù)緩存 data([name]) data(name data(obj) removeData(name) jQuery.data(element jQuery.data([element] 隊(duì)列機(jī)制 queue(name) queue(name queue(name dequeue(name) clearQueue([queueName]) 插件機(jī)制 jQuery.extend(object) jQuery.fn.extend(object) 多庫(kù)共存 jQuery.noConflict() jQuery.noConflict(extreme) 選擇器 基本 #id element .class * selector1 層級(jí) ancestor descendant parent > child prev + next prev ~ siblings 基本(過(guò)濾器) :first :last :not :even :odd :eq :gt :lt :header :animated 內(nèi)容(過(guò)濾器) :contains :empty :has :parent 可見(jiàn)性(過(guò)濾器) :hidden :visible 屬性 [attribute] [attribute=value] [attribute!=value] [attribute^=value] [attribute$=value] [attribute*=value] [selector1][selector2][selectorN] 子元素 :first-child :last-child :nth-child :only-child 表單 :input :text :password :radio :checkbox :reset :submit :image :button :file :hidden 表單對(duì)象屬性 :checked :disabled :enabled :selected 屬性 屬性 attr(name) attr(properties) attr(key attr(key removeAttr(name) CSS類 addClass(class) addClass(function(index removeClass([class]) removeClass(function(index toggleClass(class) toggleClass(class toggleClass(function(index HTML代碼 html() html(val) html(function(index 文本 text() text(val) text(function(index val() val(val) val(array) val(function(index 篩選 過(guò)濾 eq(index) first() last() hasClass(class) filter(expr) filter(fn) is(expr) map(callback) has(expr) not(expr) slice(start 查找 children([expr]) closest(expr find(expr) next([expr]) nextAll([expr]) nextUntil([expr]) offsetParent() parent([expr]) parents([expr]) parentsUntil([expr]) prev([expr]) prevAll([expr]) prevUntil([expr]) siblings([expr]) 串聯(lián) add(expr andSelf() contents() end() 文檔處理 內(nèi)部插入 append(content) append(function(index appendTo(content) prepend(content) prepend(function(index prependTo(content) 外部插入 after(content) after(function) before(content) before(function) insertAfter(content) insertBefore(content) 包裹 wrap(html) wrap(elem) wrap(fn) unwrap() wrapAll(html) wrapAll(elem) wrapInner(html) wrapInner(elem) wrapInner(fn) 替換 replaceWith(content) replaceAll(selector) 刪除 empty() remove([expr]) detach([expr]) 復(fù)制 clone() clone(true) CSS CSS css(name) css(properties) css(name css(name 位置 offset() offset(coordinates) position() scrollLeft() scrollLeft(val) scrollTop() scrollTop(val) 尺寸 height() height(val) width() width(val) innerHeight() innerWidth() outerHeight(options) outerWidth(options) 事件 頁(yè)面載入 ready(fn) 事件處理 bind(type one(type trigger(type triggerHandler(type unbind([type] 事件委派 live(type die([type] delegate(selector undelegate() 事件切換 hover(over toggle(fn 事件 blur() blur(fn) change() change(fn) click() click(fn) dblclick() dblclick(fn) error() error(fn) focus() focus(fn) focusin(fn) focusout(fn) keydown() keydown(fn) keypress() keypress(fn) keyup() keyup(fn) load(fn) mousedown(fn) mousemove(fn) mouseout(fn) mouseover(fn) mouseup(fn) resize(fn) scroll(fn) select() select(fn) submit() submit(fn) unload(fn) 效果 基本 show() show(speed hide() hide(speed toggle() toggle(switch) toggle(speed 滑動(dòng) slideDown(speed slideUp(speed slideToggle(speed 淡入淡出 fadeIn(speed fadeOut(speed fadeTo(speed fadeToggle(speed 自定義 animate(params animate(params stop([clearQueue] delay(duration 設(shè)置 jQuery.fx.off jQuery.fx.interval AJAX AJAX請(qǐng)求 jQuery.ajax([options]) load(url jQuery.get(url jQuery.getJSON(url jQuery.getScript(url jQuery.post(url AJAX事件 ajaxComplete(callback) ajaxError(callback) ajaxSend(callback) ajaxStart(callback) ajaxStop(callback) ajaxSuccess(callback) 其它 jQuery.ajaxSetup([options]) serialize() serializeArray() 工具 瀏覽器及特性檢測(cè) jQuery.support jQuery.browser jQuery.browser.version jQuery.boxModel 數(shù)組和對(duì)象操作 jQuery.each(object jQuery.extend([deep] jQuery.grep(array jQuery.inArray(value jQuery.makeArray(obj) jQuery.toArray() jQuery.map(array jQuery.merge(first jQuery.unique(array) jQuery.parseJSON(json) 函數(shù)操作 jQuery.noop jQuery.proxy(function 測(cè)試操作 jQuery.contains(container jQuery.isArray(obj) jQuery.isFunction(obj) jQuery.isEmptyObject(obj) jQuery.isPlainObject(obj) jQuery.isWindow(obj) jQuery.type(obj) 字符串操作 jQuery.trim(str) URL解析 jQuery.param(obj 插件編寫(xiě) jQuery.error(message) 關(guān)于 關(guān)于jQuery API 1.4.4中文版 關(guān)于jQuery 1.4.1中文版 關(guān)于jQuery 1.3 版翻譯 關(guān)于jQuery 1.2 版翻譯 提交bug及獲取更新
characters

返回值:ObjectjQuery.support

概述

jQuery 1.3 新增。一組用于展示不同瀏覽器各自特性和bug的屬性集合。

jQuery提供了一系列屬性,你也可以自由增加你自己的屬性。其中許多屬性是很低級(jí)的,所以很難說(shuō)他們能否在日新月異的發(fā)展中一直保持有效,但這這些主要用于插件和內(nèi)核開(kāi)發(fā)者。

所有這些支持的屬性值都通過(guò)特性檢測(cè)來(lái)實(shí)現(xiàn),而不是用任何瀏覽器檢測(cè)。以下有一些非常棒的資源用于解釋這些特性檢測(cè)是如何工作的:<ul><li>http://peter.michaux.ca/articles/feature-detection-state-of-the-art-browser-scripting</li><li>http://yura.thinkweb2.com/cft/</li><li>http://www.jibbering.com/faq/faq_notes/not_browser_detect.html</li></ul>jQuery.support主要包括以下測(cè)試:

'''boxModel''': 如果這個(gè)頁(yè)面和瀏覽器是以W3C CSS盒式模型來(lái)渲染的,則等于true。通常在IE 6和IE 7的怪癖模式中這個(gè)值是false。在document準(zhǔn)備就緒前,這個(gè)值是null。

'''cssFloat''': 如果用cssFloat來(lái)訪問(wèn)CSS的float的值,則返回true。目前在IE中會(huì)返回false,他用styleFloat代替。

'''hrefNormalized''': 如果瀏覽器從getAttribute("href")返回的是原封不動(dòng)的結(jié)果,則返回true。在IE中會(huì)返回false,因?yàn)樗腢RLs已經(jīng)常規(guī)化了。

'''htmlSerialize''': 如果瀏覽器通過(guò)innerHTML插入鏈接元素的時(shí)候會(huì)序列化這些鏈接,則返回true,目前IE中返回false。

'''leadingWhitespace''': 如果在使用innerHTML的時(shí)候?yàn)g覽器會(huì)保持前導(dǎo)空白字符,則返回true,目前在IE 6-8中返回false。

'''noCloneEvent''': 如果瀏覽器在克隆元素的時(shí)候不會(huì)連同事件處理函數(shù)一起復(fù)制,則返回true,目前在IE中返回false。

'''objectAll''': 如果在某個(gè)元素對(duì)象上執(zhí)行g(shù)etElementsByTagName("*")會(huì)返回所有子孫元素,則為true,目前在IE 7中為false。

'''opacity''': 如果瀏覽器能適當(dāng)解釋透明度樣式屬性,則返回true,目前在IE中返回false,因?yàn)樗胊lpha濾鏡代替。

'''scriptEval''': 使用 appendChild/createTextNode 方法插入腳本代碼時(shí),瀏覽器是否執(zhí)行腳本,目前在IE中返回false,IE使用 .text 方法插入腳本代碼以執(zhí)行。

'''style''': 如果getAttribute("style")返回元素的行內(nèi)樣式,則為true。目前IE中為false,因?yàn)樗胏ssText代替。

'''tbody''': 如果瀏覽器允許table元素不包含tbody元素,則返回true。目前在IE中會(huì)返回false,他會(huì)自動(dòng)插入缺失的tbody。

示例

描述:

檢測(cè)瀏覽器是否支持盒式模型

jQuery 代碼:
jQuery.support.boxModel
Previous article: Next article: