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 插件来完成这个?
您可以使用 select2 选择替换。http://ivaynberg.github.io/select2/
您可以将 ajax 属性作为数据获取函数提供,该函数可以从远程资源加载数据。 http://ivaynberg.github.io/select2/#ajax