I would like to return many values at the same time using jQuery
- $('#departement').ready(function () {
- for (var i = 0; i <= tab.length()-1 ; i++) {
- return "<option>"+tab[i]"</option>";
- };
- }).append('select')
Greetings, I would need help, because i can't actually do this: My elements are in an Array, and i would like to append them to the <select> tag. And i would also need to know if i am using correctly the .ready() function. Thanks in advance