user29970 user29970 - 2 years ago 97
HTML Question

Multiple <select> elements

I'm trying to create html (dynamically) which has multiple select elements, but not all of them appear to be displayed. Here's a minimal example:


This renders as a single select box in all the browsers I've tried. If I add more selects, I get more select boxes, but never as many as I ask for. Can someone explain what is going on?

Answer Source

It's because you are not closing the select tag correctly, it should be like this:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download