var options = $('#allcountry')[0].options; options[0].selected = true; options[1].selected = true; options[2].selected = true;