I am using this jQuery UI combobox autocomplete control out of the box off the jQuery UI website:
My issue is that I have multiple comboboxes on a page, and I want t
I think the easiest way to do it is to capture the open event and then set the width there:
$("#autocompleteInput").bind("autocompleteopen", function(event, ui) {
var width = 300;
$(".ui-autocomplete.ui-menu").width(300);
});
Since only one autocomplete menu can be active at one time, it's okay to just change the width for the menu class.