javascript - Autopopulate input based on autocomplete from other input -


i have list of colors name , hex value; have 2 input fields; 1 input field user can start writing name of color, list makes suggestions using jquery autocomplete.

in second field, user can pick or write hex value. hex value auto complete if user picks value previous autocomplete list.

how go ?

https://js fiddle.net/bhgohk63/ 

please :)


Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

c# - Populating Gridview inside Listview ItemTemplate On Web User Control from Code Behind -