easyui combobox 制做带有复选框的下拉菜单

在实际的项目中,总会遇到下拉框中须要多选的需求。其实使用easyui实现该功能并不难。主要方法是使用combobox中的formatter这个方法。 下面写个例子。 1.首先设置combobox的multiple属性为true 2.使用formatter方法来实现显示的样子。javascript $(function(){ $('#addoper').combobox({
相关文章
相关标签/搜索