javascript object named countries. Now this data i want to populate in HTML select
var countries = {
India:"delhi",
US:"Norway",
UK:"London",
id: 123752,
allcountries : function(){return this.India +" "+ this.US + " " + this.UK + " "+this.id}
};
HTML Code
<select id="con">
<option></option>
</select>
I tried
document.getElementById("con").innerHTML = countries.allcountries();
$('#con option').append(countries.India);
but it is not working can anyone help me to populate data using jquery/javascript in html select.