I\'m working with mutiple jquery-ui autocomplete widgets on one page and want to be able to set the widths of each one individually. Currently, I\'m doing it like this:
You can get "ui-menu" widget attached to the having autocomplete with respect of $('#myinput').data("autocomplete").menu. So to change the width you can use
$('#myinput').autocomplete({
source: yourUrlOrOtherSource,
open: function () {
$(this).data("autocomplete").menu.element.width(80);
}
});