为什么设置checkbox属性完全无效

2025年05月08日 18:44
有1个网友回答
网友(1):

jquery取出来的是对象,不能直接用js内置方法,貌似attr也不支持这个属性,你可以这样写 obj[0].indeterminate = true