gpt4 book ai didi

jquery - @ 字符在 jQuery 中起什么作用?

转载 作者:行者123 更新时间:2023-12-03 22:26:38 26 4
gpt4 key购买 nike

关于selectors page ,它表示 @ 是元字符之一。但它有什么作用呢?

最佳答案

曾经用于 the attribute selectors ,但从 jQuery 1.3+ 开始,情况不再如此。来自属性选择器文档:

Note: In jQuery 1.3 [@attr] style selectors were removed (they were previously deprecated in jQuery 1.2). Simply remove the “@” symbol from your selectors in order to make them work again.

关于jquery - @ 字符在 jQuery 中起什么作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3794577/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com