gpt4 book ai didi

jquery - 我需要使用 : when specifying a jQuery selector?

转载 作者:行者123 更新时间:2023-12-01 06:17:29 25 4
gpt4 key购买 nike

我看过例子

$(":input[type='text']").wijtextbox();

还有

$("input[type='text']").wijtextbox();

我需要使用“:”吗?我熟悉句点和哈希选择器,但不熟悉冒号。

最佳答案

input 无法获取所有表单对象,例如 selecttextarea,这就是他们推出 :input< 的原因

:input 选择器基本上选择所有表单控件。 http://api.jquery.com/input-selector/

关于jquery - 我需要使用 : when specifying a jQuery selector?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9347428/

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