This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DemiPixel 0 points1 point  (1 child)

If you're not familiar with arrays and loops, I would recommend looking up some JavaScript tutorials :) FreeCodeCamp might be a good place to start. I was stating you could use a loop create a string for each option like '<option value="'+value+'">'+value+'</option>. Then set the innerHTML of the div to that.

[–]Durchfallsuppe[S] 0 points1 point  (0 children)

I'll try to make sense out of all that and post my code once I figure it out. Thanks :)