autocompleter odesk type script
Closed - This job posting has been filled and work has been completed.
Script requirements -
I need an ajax script which when put in textbox suggests the user what to select as they type.
Examples of this can be seen when we are sending messaages and we have to select contacts. Another example can be skills required textbox when posting jobs on odesk.
Important bits to consider:
1. user should not be able to see all the input via view source etc.
2. Multiple values can be selected
3. a value once selected should not appear in the suggestions
4. if the text values are fetched from the database during editing, and filled in the textbox, the selected values should become as if they were selected by the user only. They should not appear in plain csv format etc.
5. admins should have the option to determine maximum input of values in the textbox.
6. script should be able to handle symbols (operators and others) like "+,-, comma(,), # etc.
7. The results of the first request are cached on the client machine and are filtered as the user continues to type, to reduce the number of requests hitting the server.
8. user should be able to select with mouse or by keyboard by pressing up down arrows and pressing enter
9. It should work on all modern browsers.
an ideal script should work like odesk's "Skills required" field while posting a job on odesk.