$.ajax({ url:'/yq1012/com/findHospital?name='+hospital+'&city='+city+'&province='+province, type:'post', //数据发送方式 async: false, contentType: "application/x-www-form-urlencoded; charset=utf-8", success: function(data){ html=data; $("#hospital").bigAutocomplete({ width:304,data:html,callback:function(datahtml){ alert(datahtml.title); }}); } });