jquery autosuggest를 사용하여 텍스트 상자에 데이터를 채 웁니다. 내가 오류를 얻고있다 IE8에서 해당 기능을 작동하려고 할 때 :이 오류를 보여주는즉 8에서이 오류를 어떻게 수정합니까?
JQuery와 코드를 정의하지 콘솔 것은 :
function lookup(inputString) {
if(inputString.length == 0) {
// Hide the suggestion box.
$('#suggestions').hide();
} else {
// post data to our php processing page and if there is a return greater than zero
// show the suggestions box
$.post("string_search.php", {mysearchString: ""+inputString+""}, function(data){
**console.log(data.length)**
if(data.length >0) {
$('#suggestions').show();
$('#autoSuggestionsList').html(data);
}else{
$('#suggestions').hide();
}
});
}
} //end
오류
콘솔이 IE에 존재하지 않습니다. – voigtan
이 게시물에 대한 답변 및 대체 전략이 있습니다. http://stackoverflow.com/questions/690251/what-happened-to-console-log-in-ie8 – chapman84
@voigtan 그렇지 않습니까?! 와우, 인터넷 익스플로러를 사용하지 않는 이유는 계속해서 올라갑니다. – Alnitak