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.
我需要在 Kendo PanelBar 中找到前两个标签来添加一个 css 类。谁能建议如何实现这一目标?
你说的标签是什么意思?标头?如果是这种情况,您可以使用以下代码:
$(".k-panelbar li > .k-header:lt(2)").addClass("my-class");