Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 jQuery 验证器,并且我想使用ignore: ':hidden:not但我也想应用它所有具有约束“_selecting”的 ID 的控件,
ignore: ':hidden:not
这是我到目前为止但没有工作的:
sb.AppendLine(@" ignore: ':hidden:not($(""[id*=_selecting]"")',");
我通过将控件的类设置为class="ignore"然后像这样忽略它们来解决这个问题:
class="ignore"
sb.AppendLine(@" ignore: ':hidden:not("".ignore"")',");