This is a visualforce component that can convert any field into a Autocomplete Component
[This component is deprecated you can have a look on a improved verison of the same here .https://github.com/Avinava/Autocomplete-Visualforce-Component-V2]
- Uses Jquery UI to create the autocomplete component.
- Look And Feel - Has exactly same look and feel as native components
- Uses Js Remoting to populate data and hence the component is very fast and light weight.
- Configurable : The search field can be configured to search fields other than "Name" field. Even the value that is returned to controller can be configured return fields other than record Id.
1.3
<c:Autocomplete labelField="Name" valueField="Id" SObject="Contact" targetField="{!targetFieldCon}" />
http://blogforce9dev-developer-edition.ap1.force.com/autocomplete