rem: var element=wicketGet(elementId+'-autocomplete'); element.innerHTML=resp; if(element.firstChild && element.firstChild.childNodes) { elementCount=element.firstChild.childNodes.length; } else { elementCount=0; } if(elementCount>0){ showAutoComplete(); } else { hideAutoComplete(); } render(); } 
add: var element = getAutocompleteMenu(); element.innerHTML=resp; if(element.firstChild && element.firstChild.childNodes) { elementCount=element.firstChild.childNodes.length; } else { elementCount=0; } if(elementCount>0){ showAutoComplete(); } else { hideAutoComplete(); } render(); } 
context: 	function doUpdateChoices(resp){		var element=wicketGet(elementId+'-autocomplete');		element.innerHTML=resp;	    if(element.firstChild && element.firstChild.childNodes) {	    	elementCount=element.firstChild.childNodes.length;    	} else {    		elementCount=0;    	}		if(elementCount>0){			showAutoComplete();			} else {			hideAutoComplete();		}    	render();	}
meta: 1204	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1204/8520a7b4736acaa08bb53d628a153375df8192d4/wicket-autocomplete.js/clean/wicket-extensions/src/java/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js