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.
我正在使用“Fuelux Tree” jQuery 插件来生成树视图。并尝试通过本文档selectedItems中描述的jQuery 方法获取所选项目。但我不知道如何调用此方法SelectedItems
selectedItems
SelectedItems
您可以像这样获得选定的项目:
var selectedItems = $('#MyTree').tree('selectedItems');