I just want to append or add some option element in to a select element. The elements that I am going to append are the results of an iteration. In each iteration I will create an option and add that in to a select element. I need to perform the following logic, but in jQuery.
keys.forEach(item => {
var elem = document.createElement('option')
elem.textContent = item
document.querySelector("#Select").appendChild(elem)
}