I have an Object which contains values as follow
[{"text":"Tag1"},{"text":"Tag2"},{"text":"Tag3"}]
These are in the variable autosuggest. Now I want to get only the values
Tag1, Tag2, Tag3
I´ve tried to do this
var textOnly = autosuggest.text
But then, I get an "undefined" of
var textOnly = autosuggest[0]
Then I get only the first string, 'Tag1'
Thank you for your tips