I heart jQuery

for (var i=0; i <e;CareerOne_type_id.options.length; i++) { if(CareerOne_type_id.options[i].selected) { CareerOneTotal++; } }