之前可以这样写
$('[href=#hash]')
现在必须这样写
$('[href="#hash"]')
其它属性选择器,如 attr^="#value" 等,也一样。
attr^="#value"
meathill
此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据。