Hi there! I want to retrieve the records from a table (ex:index1, name1, index2, name2, etc) and load it in an array and then put it in a dropdown list like: name1, name2, etc).
And I don't know how much records will be in the table so I retrieve it through a query and set a global variable in construct to know how much records will I have to show.
I tried using loops and ajax requests but I'm totally lost and I need it desperately to work.
Anyone can help me, please!?