I am trying to fill a HTML Dropdown menu with data from an external JSON file, which contains the following
{
"Destinations": [
{
"destinationName": "London",
"destinationID": "lon"
},
{
"destinationName": "New York",
"destinationID": "nyc"
},
{
"destinationName": "Paris",
"destinationID": "par"
},
{
"destinationName": "Rome",
"destinationID": "rom"
}
]
}
What I would like is the drop down menu to display the destinationName, such as London, New York etc but i'm confused as how to approach this.
Any help is appreciated.