2010-12-01 7 views

답변

0

이 autocomplete.js에 추가 :

if(retMatch.length == 0) { 
     var noResult = new Array(); 
     noResult[0] = { 
     label: "No results found", 
     title: "No results found", 
     description: "Your search did not return any results. Please refine your search criteria. If you believe this message is in error please fill out a support case." 
     } 
     return noResult; 
    } 

에 : $.extend

+1

가없는이 작업을 수행

내 소스는

내가 시도하고있어 XML 파일입니다 드롭 다운의 "Now results founds"항목이 선택 가능한 채로 남아 있습니까? 결과가 "결과를 찾을 수 없음"일 때 __renderMenu에 자신을 삽입하고 선택하지 못하게하려고합니다. – manu08