+ 1
Multiple Drop_Down Parent
Please How Can I append children from an array of options to multiple elements with the same id. https://code.sololearn.com/WZQwaAQ2Ck7g/?ref=app Something like the code above
2 Antworten
+ 2
Ipang thanks man
+ 1
Use `class` rather than `id` when you target multiple elements.
Then you can use querySelectorAll() to collect all <select> under that class and add an option for each <select>.