Is it possible to put a button inside autocomplete in jquery ui plugin?
posted 5 years ago
I have a 4 text input fields that I want to implement autocomplete functionality. If the input does not match the dropdownlist, I want to put a button that will open a jquery modal form, that the user can enter the desired data which will update the list.
I have put a button in the dropdownlist when the input does not match. When its clicked, nothing happens, and html code for the button gets populated in the input field.
Where am i going wrong? Can you please help me? My code is given below.