I’m not sure what is wrong with this code. I am trying to do an
autocomplete feature with a list that gathers information from the
database. It doesn’t seem to be working and I’m stuck as to what is
wrong. The only thing I can surmise that is wrong is the double quotes.
I know that everything is correct up with generating the list. When I
view the source file,
available tags = [“Zurich North America”];
I try to check it and nothing seems to come up when I start typing.
Can anyone help me?
I want to output a list that is kinda list [‘option1’,‘option2’]
How would I convert a list in ruby to javascript? I found this map
function online when I searched for it. Is there another way? Thanks for
the response btw!
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.