Guys is this syntax correct? I'm trying to make a dropdown select and get the value but I'm not sure if this syntax of multiple selectors are correct
var countries = [];
var locations = [];
var zips = [];
$.each($(".country option:selected, .location option:selected ,.zip option:selected"), function(){
countries.push($(this).val());
locations.push($(this).val());
zips.push($(this).val());
});