rem: var element=wicketGet(elementId+'-autocomplete'); var attr=element.firstChild.childNodes[selected].attributes['textvalue']; var value; if (attr==undefined) { value = element.firstChild.childNodes[selected].innerHTML; } else { value = attr.value; } return stripHTML(value); } 
add: var element = getAutocompleteMenu(); var attr=element.firstChild.childNodes[selected].attributes['textvalue']; var value; if (attr==undefined) { value = element.firstChild.childNodes[selected].innerHTML; } else { value = attr.value; } return stripHTML(value); } 
context: 	function getSelectedValue(){		var element=wicketGet(elementId+'-autocomplete');		var attr=element.firstChild.childNodes[selected].attributes['textvalue'];		var value;		if (attr==undefined) {		    value = element.firstChild.childNodes[selected].innerHTML;		} else {		    value = attr.value;   		}		return stripHTML(value);		    	}
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