分类 jQuery jQuery 1.12/2.2 未计入文档的修改 文章作者 meathill 发布日期 2016年2月1日 jQuery 1.12/2.2 未计入文档的修改无评论 之前可以这样写 $('[href=#hash]') 现在必须这样写 $('[href="#hash"]') 其它属性选择器,如 attr^="#value" 等,也一样。 标签 jQuery, selector, 属性选择器