成人午夜激情影院,小视频免费在线观看,国产精品夜夜嗨,欧美日韩精品一区二区在线播放

您的位置:首頁源碼下載JavaScript代碼

jQuery XPath下載(實現跨frame文檔查詢)

授權形式: 免費版
更新時間: 2013-05-05 12:09:26
軟件語言: 多國語言
軟件平臺: Windows,Linux
軟件類別: 程序源碼
文件大小: 未知
評論等級: ★★★☆☆
下載次數: 0(今日:,本周:,本月:

軟件簡介

jQuery XPath 0.2.5 發布,該版本支持跨幀(frame)的文檔查詢。jQuery XPath 是一個 jQuery 插件,實現了全功能的 XPath 2.0 查詢語言。

jQuery XPath 是一個 jQuery 插件,實現了全功能的 XPath 2.0 查詢語言。

示例代碼:

$(document).xpath("*"); // Returns {Element} html (direct child of context item - document)
$(document).xpath("//head << //body"); // Returns {Boolean} true (head is preceding body)
$(document).xpath("//*[parent::html][last()]") // Returns {Element} body (last child of html)
$(document.body).xpath("count(ancestor::node())"); // Returns {Number} 2 (2 ancestor nodes)
$(document.body).xpath("preceding-sibling::element()"); // Returns {Element} head (prev sibling)
$(document.documentElement).xpath("body | head"); // Returns {Element} head and body (ordered)
$(document.documentElement).xpath("body, head"); // Returns {Element} body and head (not ordered)

贊助商鏈接:

主站蜘蛛池模板: 康平县| 阿克苏市| 广河县| 准格尔旗| 杭锦后旗| 杨浦区| 庆城县| 阜新| 修武县| 旌德县| 陵川县| 南和县| 乐亭县| 万山特区| 遵化市| 凤山县| 日照市| 肇东市| 资源县| 昔阳县| 五家渠市| 新绛县| 云霄县| 黄石市| 辰溪县| 梅州市| 丹凤县| 钦州市| 鄂伦春自治旗| 沁源县| 留坝县| 普格县| 嘉善县| 商都县| 松滋市| 嘉峪关市| 隆林| 射阳县| 卢龙县| 顺义区| 南京市|