JQuery Autocomplete 필드가 TextBox에 처음 입력했을 때 응답하지 않지만 TextBox 외부에서 Tab 키를 누른 다음 커서가 TextBox로 돌아가서 응답하고 결과는 내가 입력하기 시작할 때 보여줍니다.JQuery 자동 완성이 실행되지 않는 이유는 무엇입니까?
파이어 버그를 사용할 때 실제로 응용 프로그램에서 AJAX 함수가 호출되어 결과가 html로 반환되지만 결과가 표시되지 않습니다.이 문제의 원인은 무엇입니까?
내 기능 바인딩 코드 :
$(function()
{
$(document).ready(function(){
$("#tags1").bind("keyup",autoFill)
});
});
내 자동 완성 기능
function autoFill(){
$("#tags1").autocomplete("/taglookup/", {
width: 320,
max: 4,
highlight: false,
multiple: true,
multipleSeparator:",",
scroll: true,
scrollHeight: 300,
delay: 10
});
}
내 텍스트 상자 필드 :
<input type="text" style="width: 400px" id="tags1" name="tags1" value="">