I have an array like this:
[
[{
"station_territory": "Peshawar-CMD"
}, {
"station_territory": "Faisalabad-CMD"
}],
[{
"station_territory": "Faisalabad-FEM"
}]
];
How can I assign it to a multiple drop down where the id is the station? I tried this code:
$.each(data, function(index, value) {
$("#station") = value;
});