I am using jQuery UI as follows:
$("#companyType").multiselect({ multiple: false, header: "Type", noneSelectedText: "Type", selectedList: 1 }); $('.ui-multiselect').css('width', '100px');
What I would like to do is set .ui-multiselect only for div #companyType. Something like that:
$('#companyType.ui-multiselect').css('width', '100px');
Is there any way to do this? Thanks!
source share