Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

I need to put populate a select box with this array: var array{x,y,z)?

select while i != 0

option var = id[i]

print select </option>

Thanks if you can show me how to populate a combo box with an array in HTML.

1 Answer

Relevance
  • Leo D
    Lv 6
    8 years ago
    Favorite Answer

    There are no arrays in HTML. HTML is a markup language not a programming language =Þ

    It looks like you're using some kind of scripting language there, but not any that I know of. Can you please give more information? Which scripting language are you using? Where are you getting this array from? (A data base, the script itself?) Please email me when you have added these details =)

Still have questions? Get your answers by asking now.