What\'s the easiest way to add an option to a dropdown using jQuery?
option
Will this work?
$(\"#mySelect\").append(\'My
You can do this in ES6:
$.each(json, (i, val) => { $('.js-country-of-birth').append(` ${val.country} `); });