我将如何为以下 jQuery 自动完成指定结果的宽度?
$( "#autocomplete" ).autocomplete({
minLength: 2,
source: function( request, response ) {
var matcher = new RegExp( "^" + $.ui.autocomplete.escapeRegex( request.term ), "i" );
response( $.grep( tags, function( item ){
return matcher.test( item );
})
}
});
谢谢!