1、添加option:
$("#sync-select-shop-id").append("<option value='"+arrAuthShop[i]+"'>"+arrAuthShop[i]+"</option>");2、删除所有菜单:
$("#sync-select-shop-id").empty();注意:必须是动态添加上去的。$("#sync-select-shop-id").append("<option value='"+arrAuthShop[i]+"'>"+arrAuthShop[i]+"</option>");$("#sync-select-shop-id").empty();注意:必须是动态添加上去的。
989
1774

被折叠的 条评论
为什么被折叠?
