我有:
$("#stationsearch").autocomplete({
source: "station_suggest.php",
minLength: 3,
select: function( event, ui ) {
log( ui.item ?
"Selected: " + ui.item.value + " aka " + ui.item.id :
"Nothing selected, input was " + this.value );
}
});
但我在自动填充中看不到任何内容。什么是错的,我该怎么调试呢? 我按照以下说明操作:http://jqueryui.com/autocomplete/#remote-jsonp