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 UI 选项卡,每个选项卡都绑定到一个 Ajax 函数。我希望我的选项卡在每次更改选项卡时触发 ajax 调用以获取新内容,而不仅仅是第一次。有没有配置或推荐的方法可以实现这一目标?
您好,这可以通过TabStrip的reload方法轻松实现。
var ts = $(tabstrip).data().kendoTabStrip ts.tabGroup.on('click','li',function(e){ ts.reload($(this)); })