I have a web page with a form and has a field that uses the jquery autocomplete function.
Suppose you have a dynamic XPATH then you can point to an element like this
driver.findElement(By.className(""));