I need that with the jquery library and the .append tool through a foreach loop the object name appears in an option of a select, I have an array of objects:
[Object [id = 1, attribute2 = example], Object [id = 2, attribute2 = example2]] I have this array and I want it with the .append option to appear in an option of a select using jquery and using the id id tag. Greetings