我正在尝试使用此代码自动填写表单
<script type="text/javascript">
$('#input_15').autocomplete({
source: function (request, response) {
$.getJSON("ws_ServicioCLOUD/Consulta.aspx?cedula=" + request.term, function (data) {
console.log(data);
response($.map(data, function (value, key) {
console.log(value);
return {
label: value.label,
value: value.value
};
}));
});
},
minLength: 1,
delay: 100
});
</script>
学生姓名 :
{"empleado":[{"CEDULA":"111111111","NOMBRES":"VICENTE RAMIRO","APELLIDOS":"BANEGAS GUERRERO","EMAIL":"correo@correo.com"]}
所以没有显示注解,当我尝试完成某件事时,我得到了对象错误。