I want to make auto complete text box for select employee names from the database. I don\'t have fair idea about that. But I tried to make it as following.
You haven't explained what exactly happend on that code but I think it is better to use this lib e.g. https://jqueryui.com/autocomplete/. There should be some examples of using this inside that package.