Auto Complete text using AJAX

Its an ajax project and in this project i have create a help text displaying when typing in text box. In text box , when you type a letter

of color it will show all colors starting from the name. Code is attached below;