Language course html

From Redazione
Jump to navigation Jump to search
Line 276: Line 276:
  
 
var $dropdown = $("#select_teachers");
 
var $dropdown = $("#select_teachers");
$.each(teachers, function(value,index) {
+
$.each(teachers, function(index,value) {
 
     $dropdown.append($("<option />").text(value));
 
     $dropdown.append($("<option />").text(value));
 
});
 
});

Revision as of 23:10, 31 March 2020