Binding array elelment to Drop down list

How to bind array element to drop down using java script

There are a few ways you can go about this, but this will probably be the easiest for you.

[php]

[/php]

Just to supplement topcoder. You had a mix of html and javascript, which won’t work. You have to either insert data into html elements, build html and then have js write it to the page, or as topcoder did, just create the elements you need.

Sponsor our Newsletter | Privacy Policy | Terms of Service