$("#batch_code").autocomplete({
autoFocus: true,
minLength: 0,
autoFill: true,
source: '<?php echo URL::base(TRUE)?>quality/getBatchCode',
select: function (event, ui) {
/**
* 从建议列表中选中之后触发的事件
*/
$("#batch_code").val(ui.item.name);
return false;
}
});