How to fix jQuery UIs autocomplete width
02-May-13I recently noticed that the combobox item on an jQuery UI autocomplete grows way beyond the textfield input which is kinda ugly. This is how i fix it (that is, make it as width as the input item): $.extend($.ui.autocomplete.prototype.options, { open: function(event, ui) { $(this).autocomplete("widget").css({ "width": ($(this).width() + "px") }); } });$.extend($.ui.autocomplete.prototype.options, { open: function(event, […]