gpt4 book ai didi

jQuery,使用 !说 "not selected"

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

是否可以执行类似的操作来检查 radio 表单是否未选中:

if !($(this).find("input:checked")) {}

正确的语法是什么?

最佳答案

试试这个:

$(this).find("input:not(:checked)")

关于jQuery,使用 !说 "not selected",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6048727/

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