您的位置:首页 > Web前端 > JQuery

jQuery1.2后已删除XPath选择器支持

2010-02-22 10:27 537 查看
在学习JQuery时发现XPath选择器不能用,在网上查了一下资料,发现自从jQuery1.2版本以后就不支持XPath了,如果想使用需要使用一个jQuery插件,插件大家可以在一下链接找到。

1.jQuery1.2更新日志
http://docs.jquery.com/Release:jQuery_1.2#XPath_Compatibility_Plugin

"Since XPath selectors were removed from jQuery in 1.2, a new XPath Selector Plugin has been introduced. You can use this plugin to give yourself the CSS/XPath hybrid selectors that have existed in jQuery since its creation."

2.jQuery XPath兼容插件jquery.xpath.js
http://dev.jquery.com/view/trunk/plugins/xpath/jquery.xpath.js

3.XPath语法
http://www.w3school.com.cn/xpath/xpath_syntax.asp

4.Google排名中的10个最著名的JavaScript库
http://developers.solidot.org/article.pl?sid=09/11/14/0151200
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: