Jump to content

<select></p> and Variable Number of Items


OtagoHarbour
 Share

Recommended Posts

I tried the following code, thinking the button should be under the selection list.Please select the cell file set to use.<select> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option></select></p><input type="button" value="Run" onclick="ConstructModel()" />However, everything was on the same line. Why is the </p> tag ignored?Also, is there a way to handle a variable number of items with variable names? Thanks,Peter.

Link to comment
Share on other sites

you would probably need to re-write the HTML with some sort of server-side scripting language to dynamically create the select/option tags.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...