$(document).ready(function () { var countries = '[{ "country": "null" , "iso": "BQ", "country_EN": "Bonaire, Sint Eustatius and Saba" }, { "country": "Afghanistan" , "iso": "AF", "country_EN": "Afghanistan" }, { "country": "Afrique du Sud" , "iso": "ZA", "country_EN": "South Africa" }, { "country": "Albanie" , "iso": "AL", "country_EN": "Albania" }, { "country": "Algérie" , "iso": "DZ", "country_EN": "Algeria" }, { "country": "Allemagne" , "iso": "DE", "country_EN": "Germany" }, { "country": "Andorre" , "iso": "AD", "country_EN": "Andorra" }, { "country": "Angola" , "iso": "AO", "country_EN": "Angola" }, { "country": "Anguilla" , "iso": "AI", "country_EN": "Anguilla" }, { "country": "Antigua et barbuda" , "iso": "AG", "country_EN": "Antigua and Barbuda" }, { "country": "Arabie Saoudite" , "iso": "SA", "country_EN": "Saudi Arabia" }, { "country": "Argentine" , "iso": "AR", "country_EN": "Argentina" }, { "country": "Arménie" , "iso": "AM", "country_EN": "Armenia" }, { "country": "Aruba" , "iso": "AW", "country_EN": "Aruba" }, { "country": "Australie" , "iso": "AU", "country_EN": "Australia" }, { "country": "Autriche" , "iso": "AT", "country_EN": "Austria" }, { "country": "Azerbaïdjan" , "iso": "AZ", "country_EN": "Azerbaijan" }, { "country": "Bahamas" , "iso": "BS", "country_EN": "Bahamas" }, { "country": "Bahreïn" , "iso": "BH", "country_EN": "Bahrain" }, { "country": "Bangladesh" , "iso": "BD", "country_EN": "Bangladesh" }, { "country": "Barbade" , "iso": "BB", "country_EN": "Barbados" }, { "country": "Belgique" , "iso": "BE", "country_EN": "Belgium" }, { "country": "Belize" , "iso": "BZ", "country_EN": "Belize" }, { "country": "Bénin" , "iso": "BJ", "country_EN": "Benin" }, { "country": "Bermudes" , "iso": "BM", "country_EN": "Bermuda" }, { "country": "Bhoutan" , "iso": "BT", "country_EN": "Bhutan" }, { "country": "Biélorussie" , "iso": "BY", "country_EN": "Belarus" }, { "country": "Bolivie" , "iso": "BO", "country_EN": "Bolivia" }, { "country": "Bosnie-Herzégovine" , "iso": "BA", "country_EN": "Bosnia and Herzegovina" }, { "country": "Botswana" , "iso": "BW", "country_EN": "Botswana" }, { "country": "Brésil" , "iso": "BR", "country_EN": "Brazil" }, { "country": "Brunei" , "iso": "BN", "country_EN": "Brunei" }, { "country": "Bulgarie" , "iso": "BG", "country_EN": "Bulgaria" }, { "country": "Burkina faso" , "iso": "BF", "country_EN": "Burkina Faso" }, { "country": "Burundi" , "iso": "BI", "country_EN": "Burundi" }, { "country": "Cambodge" , "iso": "KH", "country_EN": "Cambodia" }, { "country": "Cameroun" , "iso": "CM", "country_EN": "Cameroon" }, { "country": "Canada" , "iso": "CA", "country_EN": "Canada" }, { "country": "Cap-Vert" , "iso": "CV", "country_EN": "Cape Verde" }, { "country": "Chili" , "iso": "CL", "country_EN": "Chile" }, { "country": "Chine" , "iso": "CN", "country_EN": "China" }, { "country": "Chypre" , "iso": "CY", "country_EN": "Cyprus" }, { "country": "Colombie" , "iso": "CO", "country_EN": "Colombia" }, { "country": "Comores" , "iso": "KM", "country_EN": "Comoros" }, { "country": "Corée du Sud" , "iso": "KR", "country_EN": "South Korea" }, { "country": "Costa Rica" , "iso": "CR", "country_EN": "Costa Rica" }, { "country": "Côte d'Ivoire" , "iso": "CI", "country_EN": "Ivory Coast" }, { "country": "Croatie (Hrvatska)" , "iso": "HR", "country_EN": "Croatia" }, { "country": "Cuba" , "iso": "CU", "country_EN": "Cuba" }, { "country": "Curaçao" , "iso": "CW", "country_EN": "Curacao" }, { "country": "Danemark" , "iso": "DK", "country_EN": "Denmark" }, { "country": "Djibouti" , "iso": "DJ", "country_EN": "Djibouti" }, { "country": "Dominique" , "iso": "DM", "country_EN": "Dominica" }, { "country": "É.-U." , "iso": "US", "country_EN": "USA" }, { "country": "Égypte" , "iso": "EG", "country_EN": "Egypt" }, { "country": "Émirats Arabes Unis" , "iso": "AE", "country_EN": "United Arab Emirates" }, { "country": "Équateur" , "iso": "EC", "country_EN": "Ecuador" }, { "country": "Espagne" , "iso": "ES", "country_EN": "Spain" }, { "country": "Estonie" , "iso": "EE", "country_EN": "Estonia" }, { "country": "Éthiopie" , "iso": "ET", "country_EN": "Ethiopia" }, { "country": "Féroé (îles)" , "iso": "FO", "country_EN": "Faroe Islands" }, { "country": "Fidji" , "iso": "FJ", "country_EN": "Fiji" }, { "country": "Finlande" , "iso": "FI", "country_EN": "Finland" }, { "country": "français Guyane" , "iso": "GF", "country_EN": "French Guiana" }, { "country": "France" , "iso": "FR", "country_EN": "France" }, { "country": "Gabon" , "iso": "GA", "country_EN": "Gabon" }, { "country": "Gambie" , "iso": "GM", "country_EN": "Gambia" }, { "country": "Géorgie" , "iso": "GE", "country_EN": "Georgia" }, { "country": "Géorgie du Sud et îles sandwich du Sud" , "iso": "GS", "country_EN": "South Georgia And The South Sandwich Islands" }, { "country": "Ghana" , "iso": "GH", "country_EN": "Ghana" }, { "country": "Gibraltar" , "iso": "GI", "country_EN": "Gibraltar" }, { "country": "Great Britain (England, Scotland & Wales)" , "iso": "GB-GBN", "country_EN": "Great Britain (England, Scotland & Wales)" }, { "country": "Great Britain (Northern Ireland)" , "iso": "GB-NIR", "country_EN": "Great Britain (Northern Ireland)" }, { "country": "Grèce" , "iso": "GR", "country_EN": "Greece" }, { "country": "Groenland" , "iso": "GL", "country_EN": "Greenland" }, { "country": "Guadeloupe" , "iso": "GP", "country_EN": "Guadeloupe" }, { "country": "Guam" , "iso": "GU", "country_EN": "Guam" }, { "country": "Guatemala" , "iso": "GT", "country_EN": "Guatemala" }, { "country": "Guernesey" , "iso": "GG", "country_EN": "Guernsey" }, { "country": "Guinée" , "iso": "GN", "country_EN": "Guinea" }, { "country": "Guinée équatoriale" , "iso": "GQ", "country_EN": "Equatorial Guinea" }, { "country": "Guinée-Bissau" , "iso": "GW", "country_EN": "Guinea-bissau" }, { "country": "Guyane" , "iso": "GY", "country_EN": "Guyana" }, { "country": "Haïti" , "iso": "HT", "country_EN": "Haiti" }, { "country": "Honduras" , "iso": "HN", "country_EN": "Honduras" }, { "country": "Hong kong" , "iso": "HK", "country_EN": "Hong Kong" }, { "country": "Hongrie" , "iso": "HU", "country_EN": "Hungary" }, { "country": "île Christmas" , "iso": "CX", "country_EN": "Christmas Island" }, { "country": "île de man" , "iso": "IM", "country_EN": "Isle Of Man" }, { "country": "Île Heard et îles mcdonald" , "iso": "HM", "country_EN": "Heard Island and Mcdonald Islands" }, { "country": "Ile Maurice" , "iso": "MU", "country_EN": "Mauritius" }, { "country": "île Norfolk" , "iso": "NF", "country_EN": "Norfolk Island" }, { "country": "Iles Aland" , "iso": "AX", "country_EN": "Aland Islands" }, { "country": "îles Caïmans" , "iso": "KY", "country_EN": "Cayman Islands" }, { "country": "îles Cocos" , "iso": "CC", "country_EN": "Cocos Islands" }, { "country": "Îles Cook" , "iso": "CK", "country_EN": "Cook Islands" }, { "country": "îles Falkland" , "iso": "FK", "country_EN": "Falkland Islands" }, { "country": "îles Mariannes du Nord" , "iso": "MP", "country_EN": "Northern Mariana Islands" }, { "country": "Îles Marshall" , "iso": "MH", "country_EN": "Marshall Islands" }, { "country": "îles mineures éloignées des États-Unis" , "iso": "UM", "country_EN": "United States Minor Outlying Islands" }, { "country": "Îles Salomon" , "iso": "SB", "country_EN": "Solomon Islands" }, { "country": "îles Turques et Caïques" , "iso": "TC", "country_EN": "Turks and Caicos Islands" }, { "country": "îles Vierges américaines" , "iso": "VI", "country_EN": "U.s. Virgin Islands" }, { "country": "îles Vierges britanniques" , "iso": "VG", "country_EN": "British Virgin Islands" }, { "country": "Inde" , "iso": "IN", "country_EN": "India" }, { "country": "Indonésie" , "iso": "ID", "country_EN": "Indonesia" }, { "country": "Irak" , "iso": "IQ", "country_EN": "Iraq" }, { "country": "Iran" , "iso": "IR", "country_EN": "Iran" }, { "country": "Irlande" , "iso": "IE", "country_EN": "Ireland" }, { "country": "Islande" , "iso": "IS", "country_EN": "Iceland" }, { "country": "Israël" , "iso": "IL", "country_EN": "Israel" }, { "country": "Italie" , "iso": "IT", "country_EN": "Italy" }, { "country": "Jamaïque" , "iso": "JM", "country_EN": "Jamaica" }, { "country": "Japon" , "iso": "JP", "country_EN": "Japan" }, { "country": "Jordanie" , "iso": "JO", "country_EN": "Jordan" }, { "country": "Kazakhstan" , "iso": "KZ", "country_EN": "Kazakhstan" }, { "country": "Kenya" , "iso": "KE", "country_EN": "Kenya" }, { "country": "Kirghizistan" , "iso": "KG", "country_EN": "Kyrgyzstan" }, { "country": "Kiribati" , "iso": "KI", "country_EN": "Kiribati" }, { "country": "Kosovo" , "iso": "XK", "country_EN": "Kosovo" }, { "country": "Koweït" , "iso": "KW", "country_EN": "Kuwait" }, { "country": "la Corée du Nord" , "iso": "KP", "country_EN": "North Korea" }, { "country": "la Grande-Bretagne" , "iso": "GB", "country_EN": "Great Britain" }, { "country": "la Grenade" , "iso": "GD", "country_EN": "Grenada" }, { "country": "la Somalie" , "iso": "SO", "country_EN": "Somalia" }, { "country": "l'Antarctique" , "iso": "AQ", "country_EN": "Antarctica" }, { "country": "Laos" , "iso": "LA", "country_EN": "Laos" }, { "country": "l'Érythrée" , "iso": "ER", "country_EN": "Eritrea" }, { "country": "Lesotho" , "iso": "LS", "country_EN": "Lesotho" }, { "country": "Lettonie" , "iso": "LV", "country_EN": "Latvia" }, { "country": "Liban" , "iso": "LB", "country_EN": "Lebanon" }, { "country": "Libéria" , "iso": "LR", "country_EN": "Liberia" }, { "country": "Libye" , "iso": "LY", "country_EN": "Libya" }, { "country": "Liechtenstein" , "iso": "LI", "country_EN": "Liechtenstein" }, { "country": "Lituanie" , "iso": "LT", "country_EN": "Lithuania" }, { "country": "l'Ouganda" , "iso": "UG", "country_EN": "Uganda" }, { "country": "Luxembourg" , "iso": "LU", "country_EN": "Luxembourg" }, { "country": "Macao" , "iso": "MO", "country_EN": "Macao" }, { "country": "Macédoine" , "iso": "MK", "country_EN": "Macedonia" }, { "country": "Madagascar" , "iso": "MG", "country_EN": "Madagascar" }, { "country": "maillot" , "iso": "JE", "country_EN": "Jersey" }, { "country": "Malaisie" , "iso": "MY", "country_EN": "Malaysia" }, { "country": "Malawi" , "iso": "MW", "country_EN": "Malawi" }, { "country": "Maldives" , "iso": "MV", "country_EN": "Maldives" }, { "country": "Mali" , "iso": "ML", "country_EN": "Mali" }, { "country": "Malte" , "iso": "MT", "country_EN": "Malta" }, { "country": "Maroc" , "iso": "MA", "country_EN": "Morocco" }, { "country": "Martinique" , "iso": "MQ", "country_EN": "Martinique" }, { "country": "Mauritanie" , "iso": "MR", "country_EN": "Mauritania" }, { "country": "Mayotte" , "iso": "YT", "country_EN": "Mayotte" }, { "country": "Mexique" , "iso": "MX", "country_EN": "Mexico" }, { "country": "Micronésie" , "iso": "FM", "country_EN": "Micronesia" }, { "country": "Moldavie" , "iso": "MD", "country_EN": "Moldova" }, { "country": "Monaco" , "iso": "MC", "country_EN": "Monaco" }, { "country": "Mongolie" , "iso": "MN", "country_EN": "Mongolia" }, { "country": "Monténégro" , "iso": "ME", "country_EN": "Montenegro" }, { "country": "Montserrat" , "iso": "MS", "country_EN": "Montserrat" }, { "country": "Mozambique" , "iso": "MZ", "country_EN": "Mozambique" }, { "country": "Myanmar" , "iso": "MM", "country_EN": "Myanmar" }, { "country": "Namibie" , "iso": "NA", "country_EN": "Namibia" }, { "country": "Nauru" , "iso": "NR", "country_EN": "Nauru" }, { "country": "Népal" , "iso": "NP", "country_EN": "Nepal" }, { "country": "Nicaragua" , "iso": "NI", "country_EN": "Nicaragua" }, { "country": "Niger" , "iso": "NE", "country_EN": "Niger" }, { "country": "Nigeria" , "iso": "NG", "country_EN": "Nigeria" }, { "country": "Niue" , "iso": "NU", "country_EN": "Niue" }, { "country": "Norvège" , "iso": "NO", "country_EN": "Norway" }, { "country": "Nouvelle Calédonie" , "iso": "NC", "country_EN": "New Caledonia" }, { "country": "Nouvelle-Zélande" , "iso": "NZ", "country_EN": "New Zealand" }, { "country": "Oman" , "iso": "OM", "country_EN": "Oman" }, { "country": "Ouzbékistan" , "iso": "UZ", "country_EN": "Uzbekistan" }, { "country": "Pakistan" , "iso": "PK", "country_EN": "Pakistan" }, { "country": "Palau" , "iso": "PW", "country_EN": "Palau" }, { "country": "Panama" , "iso": "PA", "country_EN": "Panama" }, { "country": "Papouasie-Nouvelle Guinée" , "iso": "PG", "country_EN": "Papua New Guinea" }, { "country": "Paraguay" , "iso": "PY", "country_EN": "Paraguay" }, { "country": "Pays-Bas" , "iso": "NL", "country_EN": "Netherlands" }, { "country": "Pérou" , "iso": "PE", "country_EN": "Peru" }, { "country": "Philippines" , "iso": "PH", "country_EN": "Philippines" }, { "country": "Pitcairn" , "iso": "PN", "country_EN": "Pitcairn" }, { "country": "Pologne" , "iso": "PL", "country_EN": "Poland" }, { "country": "Polynésie français" , "iso": "PF", "country_EN": "French Polynesia" }, { "country": "Porto Rico" , "iso": "PR", "country_EN": "Puerto Rico" }, { "country": "Portugal" , "iso": "PT", "country_EN": "Portugal" }, { "country": "Qatar" , "iso": "QA", "country_EN": "Qatar" }, { "country": "République centrafricaine" , "iso": "CF", "country_EN": "Central African Republic" }, { "country": "République démocratique du congo" , "iso": "CD", "country_EN": "Democratic Republic Of The Congo" }, { "country": "République dominicaine" , "iso": "DO", "country_EN": "Dominican Republic" }, { "country": "République du congo" , "iso": "CG", "country_EN": "Republic Of The Congo" }, { "country": "République tchèque" , "iso": "CZ", "country_EN": "Czechia" }, { "country": "Reunion" , "iso": "RE", "country_EN": "Reunion" }, { "country": "Roumanie" , "iso": "RO", "country_EN": "Romania" }, { "country": "Russie" , "iso": "RU", "country_EN": "Russia" }, { "country": "Rwanda" , "iso": "RW", "country_EN": "Rwanda" }, { "country": "sahara occidental" , "iso": "EH", "country_EN": "Western Sahara" }, { "country": "Saint pierre et miquelon" , "iso": "PM", "country_EN": "Saint Pierre and Miquelon" }, { "country": "Saint vincent et les grenadines" , "iso": "VC", "country_EN": "Saint Vincent and The Grenadines" }, { "country": "Saint-Barthélemy" , "iso": "BL", "country_EN": "Saint Barthelemy" }, { "country": "Sainte-Hélène" , "iso": "SH", "country_EN": "Saint Helena" }, { "country": "Sainte-Lucie" , "iso": "LC", "country_EN": "Saint Lucia" }, { "country": "Saint-Kitts-et-nevis" , "iso": "KN", "country_EN": "Saint Kitts and Nevis" }, { "country": "Saint-Marin" , "iso": "SM", "country_EN": "San Marino" }, { "country": "Saint-Martin" , "iso": "MF", "country_EN": "Saint Martin" }, { "country": "Salvador" , "iso": "SV", "country_EN": "El Salvador" }, { "country": "Samoa" , "iso": "WS", "country_EN": "Samoa" }, { "country": "samoa américaines" , "iso": "AS", "country_EN": "American Samoa" }, { "country": "Sao Tomé et Principe" , "iso": "ST", "country_EN": "Sao Tome and Principe" }, { "country": "Sénégal" , "iso": "SN", "country_EN": "Senegal" }, { "country": "Serbie" , "iso": "RS", "country_EN": "Serbia" }, { "country": "Seychelles" , "iso": "SC", "country_EN": "Seychelles" }, { "country": "Sierra leone" , "iso": "SL", "country_EN": "Sierra Leone" }, { "country": "Singapour" , "iso": "SG", "country_EN": "Singapore" }, { "country": "Sint maarten" , "iso": "SX", "country_EN": "Sint Maarten" }, { "country": "Slovaquie" , "iso": "SK", "country_EN": "Slovakia" }, { "country": "Slovénie" , "iso": "SI", "country_EN": "Slovenia" }, { "country": "Soudan" , "iso": "SD", "country_EN": "Sudan" }, { "country": "Sri lanka" , "iso": "LK", "country_EN": "Sri Lanka" }, { "country": "Sud-Soudan" , "iso": "SS", "country_EN": "South Sudan" }, { "country": "Suède" , "iso": "SE", "country_EN": "Sweden" }, { "country": "Suisse" , "iso": "CH", "country_EN": "Switzerland" }, { "country": "Suriname" , "iso": "SR", "country_EN": "Suriname" }, { "country": "Svalbard et jan mayen" , "iso": "SJ", "country_EN": "Svalbard and Jan Mayen" }, { "country": "Swaziland" , "iso": "SZ", "country_EN": "Swaziland" }, { "country": "Syrie" , "iso": "SY", "country_EN": "Syria" }, { "country": "Tadjikistan" , "iso": "TJ", "country_EN": "Tajikistan" }, { "country": "Taiwan" , "iso": "TW", "country_EN": "Taiwan" }, { "country": "Tanzanie" , "iso": "TZ", "country_EN": "Tanzania" }, { "country": "Tchad" , "iso": "TD", "country_EN": "Chad" }, { "country": "territoire britannique de l'océan Indien" , "iso": "IO", "country_EN": "British Indian Ocean Territory" }, { "country": "territoire palestinien" , "iso": "PS", "country_EN": "Palestinian Territory" }, { "country": "territoires méridionaux français" , "iso": "TF", "country_EN": "French Southern Territories" }, { "country": "Thaïlande" , "iso": "TH", "country_EN": "Thailand" }, { "country": "timor oriental" , "iso": "TL", "country_EN": "East Timor" }, { "country": "Togo" , "iso": "TG", "country_EN": "Togo" }, { "country": "Tokélaou" , "iso": "TK", "country_EN": "Tokelau" }, { "country": "Tonga" , "iso": "TO", "country_EN": "Tonga" }, { "country": "Trinité-et-Tobago" , "iso": "TT", "country_EN": "Trinidad and Tobago" }, { "country": "Tunisie" , "iso": "TN", "country_EN": "Tunisia" }, { "country": "Turkménistan" , "iso": "TM", "country_EN": "Turkmenistan" }, { "country": "Turquie" , "iso": "TR", "country_EN": "Turkey" }, { "country": "Tuvalu" , "iso": "TV", "country_EN": "Tuvalu" }, { "country": "Ukraine" , "iso": "UA", "country_EN": "Ukraine" }, { "country": "Uruguay" , "iso": "UY", "country_EN": "Uruguay" }, { "country": "Vanuatu" , "iso": "VU", "country_EN": "Vanuatu" }, { "country": "Vatican II" , "iso": "VA", "country_EN": "Vatican" }, { "country": "Venezuela" , "iso": "VE", "country_EN": "Venezuela" }, { "country": "Viêt Nam" , "iso": "VN", "country_EN": "Vietnam" }, { "country": "Wallis et futuna" , "iso": "WF", "country_EN": "Wallis And Futuna" }, { "country": "Yémen" , "iso": "YE", "country_EN": "Yemen" }, { "country": "Zambie" , "iso": "ZM", "country_EN": "Zambia" }, { "country": "Zimbabwe" , "iso": "ZW", "country_EN": "Zimbabwe" }]'; $.each($.parseJSON(countries), function(idx, obj) { $('#cc-country').append($('