select chosen 禁用下拉框某一个option

来源:互联网 发布:淘宝多少访客刷一单 编辑:程序博客网 时间:2024/06/05 03:15
            $("#tbParBudCode option[value='" + budCodeId + "']").attr("disabled", "disabled");                                                       $("#tbParBudCode").chosen("destroy").chosen({                                      width: '100%',                                search_contains: true                            });